mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +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
219 B
TypeScript
10 lines
219 B
TypeScript
import { Toaster } from "@/registry/default/ui/toaster"
|
|
|
|
export default function ToasterDemo() {
|
|
return (
|
|
<div className="w-full min-h-[400px] flex items-center justify-center">
|
|
<Toaster />
|
|
</div>
|
|
)
|
|
}
|