mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
- Added demo files for all 70 missing components in both default and new-york themes - Components include: code editors, navigation bars, form elements, animations, utilities - Updated registry with all new demo entries (registry/examples.ts) - Rebuilt registry JSON files for both theme variants - Fixed AI component demo widths to use full preview box width - All component documentation pages now show working examples New demos added: - Code: compare, diff, editor, explorer, preview, snippet, terminal (7) - Navigation: breadcrumb, centered-logo, collaboration, dashboard, e-commerce, etc (15) - Forms: choicebox, color-picker, dropzone, editor, image-crop/zoom, minimal-tiptap (7) - UI: avatar-group, banner, credit-card, dialog-stack, marquee, tags, ticker (11) - Animation: magnetic, motion-highlight, particles, pixel-image, pulse, reveal (6) - Dock: limelight-nav, menu-dock, message-dock, macos-dock (4) - Project: kanban, list (2) - Device: iphone-15-pro, safari (2) - Core: button-group, chart, empty, field, form, input-group, item, kbd, spinner, etc (16)
10 lines
442 B
JSON
10 lines
442 B
JSON
{
|
|
"name": "icon-navigation-bar-demo",
|
|
"files": [
|
|
{
|
|
"name": "icon-navigation-bar-demo.tsx",
|
|
"content": "import { IconNavigationBar } from \"@/registry/default/ui/icon-navigation-bar\"\n\nexport default function IconNavigationBarDemo() {\n return (\n <div className=\"w-full min-h-[400px] flex items-center justify-center\">\n <IconNavigationBar />\n </div>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |