```json
[
{
"name": "Accordion",
"description": "A vertically stacked set of interactive headings that each reveal a section of content.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\accordion.mdx",
"docs": {
"import": {
"source": "accordion.mdx",
"code": "import {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\""
},
"use": [
{
"source": "accordion.mdx",
"code": "\n \n Is it accessible?\n \n Yes. It adheres to the WAI-ARIA design pattern.\n \n \n"
}
],
"examples": [
{
"source": "accordion-demo.tsx",
"code": "import {\r\n Accordion,\r\n AccordionContent,\r\n AccordionItem,\r\n AccordionTrigger,\r\n} from \"@/components/ui/accordion\"\r\n\r\nexport default function AccordionDemo() {\r\n return (\r\n \r\n \r\n Is it accessible?\r\n \r\n Yes. It adheres to the WAI-ARIA design pattern.\r\n \r\n \r\n \r\n Is it styled?\r\n \r\n Yes. It comes with default styles that matches the other\r\n components' aesthetic.\r\n \r\n \r\n \r\n Is it animated?\r\n \r\n Yes. It's animated by default, but you can disable it if you\r\n prefer.\r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Alert Dialog",
"description": "A modal dialog that interrupts the user with important content and expects a response.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\alert-dialog.mdx",
"docs": {
"import": {
"source": "alert-dialog.mdx",
"code": "import {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\""
},
"use": [
{
"source": "alert-dialog.mdx",
"code": "\n Open\n \n \n Are you absolutely sure?\n \n This action cannot be undone. This will permanently delete your account\n and remove your data from our servers.\n \n \n \n Cancel\n Continue\n \n \n"
}
],
"examples": [
{
"source": "alert-dialog-demo.tsx",
"code": "import {\r\n AlertDialog,\r\n AlertDialogAction,\r\n AlertDialogCancel,\r\n AlertDialogContent,\r\n AlertDialogDescription,\r\n AlertDialogFooter,\r\n AlertDialogHeader,\r\n AlertDialogTitle,\r\n AlertDialogTrigger,\r\n} from \"@/components/ui/alert-dialog\"\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function AlertDialogDemo() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n Are you absolutely sure?\r\n \r\n This action cannot be undone. This will permanently delete your\r\n account and remove your data from our servers.\r\n \r\n \r\n \r\n Cancel\r\n Continue\r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Alert",
"description": "Displays a callout for user attention.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\alert.mdx",
"docs": {
"import": {
"source": "alert.mdx",
"code": "import { Alert, AlertDescription, AlertTitle } from \"@/components/ui/alert\""
},
"use": [
{
"source": "alert.mdx",
"code": "\n \n Heads up!\n \n You can add components and dependencies to your app using the cli.\n \n"
}
],
"examples": [
{
"source": "alert-demo.tsx",
"code": "import { Terminal, Waves } from \"lucide-react\"\r\n\r\nimport {\r\n Alert,\r\n AlertDescription,\r\n AlertTitle,\r\n} from \"@/components/ui/alert\"\r\n\r\nexport default function AlertDemo() {\r\n return (\r\n \r\n \r\n Heads up!\r\n \r\n You can add components to your app using the cli.\r\n \r\n \r\n )\r\n}"
},
{
"source": "alert-destructive.tsx",
"code": "import { AlertCircle, FileWarning, Terminal } from \"lucide-react\"\r\n\r\nimport {\r\n Alert,\r\n AlertDescription,\r\n AlertTitle,\r\n} from \"@/components/ui/alert\"\r\n\r\nexport default function AlertDestructive() {\r\n return (\r\n \r\n \r\n Error\r\n \r\n Your session has expired. Please log in again.\r\n \r\n \r\n )\r\n}"
},
{
"source": "alert-dialog-demo.tsx",
"code": "import {\r\n AlertDialog,\r\n AlertDialogAction,\r\n AlertDialogCancel,\r\n AlertDialogContent,\r\n AlertDialogDescription,\r\n AlertDialogFooter,\r\n AlertDialogHeader,\r\n AlertDialogTitle,\r\n AlertDialogTrigger,\r\n} from \"@/components/ui/alert-dialog\"\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function AlertDialogDemo() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n Are you absolutely sure?\r\n \r\n This action cannot be undone. This will permanently delete your\r\n account and remove your data from our servers.\r\n \r\n \r\n \r\n Cancel\r\n Continue\r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Aspect Ratio",
"description": "Displays content within a desired ratio.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\aspect-ratio.mdx",
"docs": {
"import": {
"source": "aspect-ratio.mdx",
"code": "import { AspectRatio } from \"@/components/ui/aspect-ratio\""
},
"use": [
{
"source": "aspect-ratio.mdx",
"code": "
\n \n \n \n
"
}
],
"examples": [
{
"source": "aspect-ratio-demo.tsx",
"code": "import Image from \"next/image\"\r\n\r\nimport { AspectRatio } from \"@/components/ui/aspect-ratio\"\r\n\r\nexport default function AspectRatioDemo() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Avatar",
"description": "An image element with a fallback for representing the user.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\avatar.mdx",
"docs": {
"import": {
"source": "avatar.mdx",
"code": "import { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\""
},
"use": [
{
"source": "avatar.mdx",
"code": "\n \n CN\n"
}
],
"examples": [
{
"source": "avatar-demo.tsx",
"code": "import {\r\n Avatar,\r\n AvatarFallback,\r\n AvatarImage,\r\n} from \"@/components/ui/avatar\"\r\n\r\nexport default function AvatarDemo() {\r\n return (\r\n \r\n \r\n CN\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Badge",
"description": "Displays a badge or a component that looks like a badge.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\badge.mdx",
"docs": {
"import": {
"source": "badge.mdx",
"code": "import { Badge } from \"@/components/ui/badge\""
},
"use": [
{
"source": "badge.mdx",
"code": "Badge"
},
{
"source": "badge.mdx",
"code": "import { badgeVariants } from \"@/components/ui/badge\"\nBadge"
}
],
"examples": [
{
"source": "badge-demo.tsx",
"code": "import { Badge } from \"@/components/ui/badge\"\r\n\r\nexport default function BadgeDemo() {\r\n return Badge\r\n}"
},
{
"source": "badge-destructive.tsx",
"code": "import { Badge } from \"@/components/ui/badge\"\r\n\r\nexport default function BadgeDestructive() {\r\n return Destructive\r\n}"
},
{
"source": "badge-outline.tsx",
"code": "import { Badge } from \"@/components/ui/badge\"\r\n\r\nexport default function BadgeOutline() {\r\n return Outline\r\n}"
},
{
"source": "badge-secondary.tsx",
"code": "import { Badge } from \"@/components/ui/badge\"\r\n\r\nexport default function BadgeSecondary() {\r\n return Secondary\r\n}"
}
]
}
},
{
"name": "Button",
"description": "Displays a button or a component that looks like a button.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\button.mdx",
"docs": {
"import": {
"source": "button.mdx",
"code": "import { Button } from \"@/components/ui/button\""
},
"use": [
{
"source": "button.mdx",
"code": ""
},
{
"source": "button.mdx",
"code": "import { buttonVariants } from \"@/components/ui/button\"\nClick here"
}
],
"examples": [
{
"source": "button-as-child.tsx",
"code": "import Link from \"next/link\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonAsChild() {\r\n return (\r\n \r\n )\r\n}"
},
{
"source": "button-demo.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonDemo() {\r\n return \r\n}"
},
{
"source": "button-destructive.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonDestructive() {\r\n return \r\n}"
},
{
"source": "button-ghost.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonGhost() {\r\n return \r\n}"
},
{
"source": "button-icon.tsx",
"code": "import { ChevronRight } from \"lucide-react\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonIcon() {\r\n return (\r\n \r\n )\r\n}"
},
{
"source": "button-link.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonLink() {\r\n return \r\n}"
},
{
"source": "button-loading.tsx",
"code": "import { Loader2 } from \"lucide-react\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonLoading() {\r\n return (\r\n \r\n )\r\n}"
},
{
"source": "button-outline.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonOutline() {\r\n return \r\n}"
},
{
"source": "button-secondary.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonSecondary() {\r\n return \r\n}"
},
{
"source": "button-with-icon.tsx",
"code": "import { Mail } from \"lucide-react\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\n\r\nexport default function ButtonWithIcon() {\r\n return (\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Calendar",
"description": "A date field component that allows users to enter and edit date.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\calendar.mdx",
"docs": {
"import": {
"source": "calendar.mdx",
"code": "import { Calendar } from \"@/components/ui/calendar\""
},
"use": [
{
"source": "calendar.mdx",
"code": ""
}
],
"examples": [
{
"source": "calendar-demo.tsx",
"code": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\n\r\nimport { Calendar } from \"@/components/ui/calendar\"\r\n\r\nexport default function CalendarDemo() {\r\n const [date, setDate] = React.useState(new Date())\r\n\r\n return (\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Card",
"description": "Displays a card with header, content, and footer.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\card.mdx",
"docs": {
"import": {
"source": "card.mdx",
"code": "import {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\""
},
"use": [
{
"source": "card.mdx",
"code": "\n \n Card Title\n Card Description\n \n \n
Card Content
\n \n \n
Card Footer
\n \n"
}
],
"examples": [
{
"source": "card-demo.tsx",
"code": "import { BellRing, Check } from \"lucide-react\"\r\n\r\nimport { cn } from \"@/lib/utils\"\r\nimport { Button } from \"@/components/ui/button\"\r\nimport {\r\n Card,\r\n CardContent,\r\n CardDescription,\r\n CardFooter,\r\n CardHeader,\r\n CardTitle,\r\n} from \"@/components/ui/card\"\r\nimport { Separator } from \"@/components/ui/separator\"\r\nimport { Switch } from \"@/components/ui/switch\"\r\n\r\nconst notifications = [\r\n {\r\n title: \"Your call has been confirmed.\",\r\n description: \"1 hour ago\",\r\n },\r\n {\r\n title: \"You have a new message!\",\r\n description: \"1 hour ago\",\r\n },\r\n {\r\n title: \"Your subscription is expiring soon!\",\r\n description: \"2 hours ago\",\r\n },\r\n]\r\n\r\ntype CardProps = React.ComponentProps\r\n\r\nexport default function CardDemo({ className, ...props }: CardProps) {\r\n return (\r\n \r\n \r\n Notifications\r\n You have 3 unread messages.\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n )\r\n}"
},
{
"source": "card-with-form.tsx",
"code": "import * as React from \"react\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\nimport {\r\n Card,\r\n CardContent,\r\n CardDescription,\r\n CardFooter,\r\n CardHeader,\r\n CardTitle,\r\n} from \"@/components/ui/card\"\r\nimport { Input } from \"@/components/ui/input\"\r\nimport { Label } from \"@/components/ui/label\"\r\nimport {\r\n Select,\r\n SelectContent,\r\n SelectItem,\r\n SelectTrigger,\r\n SelectValue,\r\n} from \"@/components/ui/select\"\r\n\r\nexport default function CardWithForm() {\r\n return (\r\n \r\n \r\n Create project\r\n Deploy your new project in one-click.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Checkbox",
"description": "A control that allows the user to toggle between checked and not checked.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\checkbox.mdx",
"docs": {
"import": {
"source": "checkbox.mdx",
"code": "import { Checkbox } from \"@/components/ui/checkbox\""
},
"use": [{ "source": "checkbox.mdx", "code": "" }],
"examples": [
{
"source": "checkbox-demo.tsx",
"code": "\"use client\"\r\n\r\nimport { Checkbox } from \"@/components/ui/checkbox\"\r\n\r\nexport default function CheckboxDemo() {\r\n return (\r\n
\r\n \r\n \r\n
\r\n )\r\n}"
},
{
"source": "checkbox-disabled.tsx",
"code": "import { Checkbox } from \"@/components/ui/checkbox\"\r\n\r\nexport default function CheckboxDisabled() {\r\n return (\r\n
\r\n \r\n \r\n
\r\n )\r\n}"
},
{
"source": "checkbox-with-text.tsx",
"code": "\"use client\"\r\n\r\nimport { Checkbox } from \"@/components/ui/checkbox\"\r\n\r\nexport default function CheckboxWithText() {\r\n return (\r\n
\r\n \r\n
\r\n \r\n
\r\n You agree to our Terms of Service and Privacy Policy.\r\n
\r\n
\r\n
\r\n )\r\n}"
}
]
}
},
{
"name": "Collapsible",
"description": "An interactive component which expands/collapses a panel.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\collapsible.mdx",
"docs": {
"import": {
"source": "collapsible.mdx",
"code": "import {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from \"@/components/ui/collapsible\""
},
"use": [
{
"source": "collapsible.mdx",
"code": "\n Can I use this in my project?\n \n Yes. Free to use for personal and commercial projects. No attribution\n required.\n \n"
}
],
"examples": [
{
"source": "collapsible-demo.tsx",
"code": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\nimport { ChevronsUpDown, Plus, X } from \"lucide-react\"\r\n\r\nimport { Button } from \"@/components/ui/button\"\r\nimport {\r\n Collapsible,\r\n CollapsibleContent,\r\n CollapsibleTrigger,\r\n} from \"@/components/ui/collapsible\"\r\n\r\nexport default function CollapsibleDemo() {\r\n const [isOpen, setIsOpen] = React.useState(false)\r\n\r\n return (\r\n \r\n
\r\n )\r\n}"
}
]
}
},
{
"name": "Menubar",
"description": "A visually persistent menu common in desktop applications that provides quick access to a consistent set of commands.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\menubar.mdx",
"docs": {
"import": {
"source": "menubar.mdx",
"code": "import {\n Menubar,\n MenubarContent,\n MenubarItem,\n MenubarMenu,\n MenubarSeparator,\n MenubarShortcut,\n MenubarTrigger,\n} from \"@/components/ui/menubar\""
},
"use": [
{
"source": "menubar.mdx",
"code": "\n \n File\n \n \n New Tab ⌘T\n \n New Window\n \n Share\n \n Print\n \n \n"
}
],
"examples": [
{
"source": "menubar-demo.tsx",
"code": "import {\r\n Menubar,\r\n MenubarCheckboxItem,\r\n MenubarContent,\r\n MenubarItem,\r\n MenubarMenu,\r\n MenubarRadioGroup,\r\n MenubarRadioItem,\r\n MenubarSeparator,\r\n MenubarShortcut,\r\n MenubarSub,\r\n MenubarSubContent,\r\n MenubarSubTrigger,\r\n MenubarTrigger,\r\n} from \"@/components/ui/menubar\"\r\n\r\nexport default function MenubarDemo() {\r\n return (\r\n \r\n \r\n File\r\n \r\n \r\n New Tab ⌘T\r\n \r\n \r\n New Window ⌘N\r\n \r\n New Incognito Window\r\n \r\n \r\n Share\r\n \r\n Email link\r\n Messages\r\n Notes\r\n \r\n \r\n \r\n \r\n Print... ⌘P\r\n \r\n \r\n \r\n \r\n Edit\r\n \r\n \r\n Undo ⌘Z\r\n \r\n \r\n Redo ⇧⌘Z\r\n \r\n \r\n \r\n Find\r\n \r\n Search the web\r\n \r\n Find...\r\n Find Next\r\n Find Previous\r\n \r\n \r\n \r\n Cut\r\n Copy\r\n Paste\r\n \r\n \r\n \r\n View\r\n \r\n Always Show Bookmarks Bar\r\n \r\n Always Show Full URLs\r\n \r\n \r\n \r\n Reload ⌘R\r\n \r\n \r\n Force Reload ⇧⌘R\r\n \r\n \r\n Toggle Fullscreen\r\n \r\n Hide Sidebar\r\n \r\n \r\n \r\n Profiles\r\n \r\n \r\n Andy\r\n Benoit\r\n Luis\r\n \r\n \r\n Edit...\r\n \r\n Add Profile...\r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Navigation Menu",
"description": "A collection of links for navigating websites.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\navigation-menu.mdx",
"docs": {
"import": {
"source": "navigation-menu.mdx",
"code": "import {\n NavigationMenu,\n NavigationMenuContent,\n NavigationMenuIndicator,\n NavigationMenuItem,\n NavigationMenuLink,\n NavigationMenuList,\n NavigationMenuTrigger,\n NavigationMenuViewport,\n} from \"@/components/ui/navigation-menu\""
},
"use": [
{
"source": "navigation-menu.mdx",
"code": "\n \n \n Item One\n \n Link\n \n \n \n"
},
{
"source": "navigation-menu.mdx",
"code": "import { navigationMenuTriggerStyle } from \"@/components/ui/navigation-menu\""
}
],
"examples": []
}
},
{
"name": "Popover",
"description": "Displays rich content in a portal, triggered by a button.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\popover.mdx",
"docs": {
"import": {
"source": "popover.mdx",
"code": "import {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/components/ui/popover\""
},
"use": [
{
"source": "popover.mdx",
"code": "\n Open\n Place content for the popover here.\n"
}
],
"examples": [
{
"source": "popover-demo.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\nimport { Input } from \"@/components/ui/input\"\r\nimport { Label } from \"@/components/ui/label\"\r\nimport {\r\n Popover,\r\n PopoverContent,\r\n PopoverTrigger,\r\n} from \"@/components/ui/popover\"\r\n\r\nexport default function PopoverDemo() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
Dimensions
\r\n
\r\n Set the dimensions for the layer.\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Progress",
"description": "Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\progress.mdx",
"docs": {
"import": {
"source": "progress.mdx",
"code": "import { Progress } from \"@/components/ui/progress\""
},
"use": [{ "source": "progress.mdx", "code": "" }],
"examples": [
{
"source": "progress-demo.tsx",
"code": "\"use client\"\r\n\r\nimport * as React from \"react\"\r\n\r\nimport { Progress } from \"@/components/ui/progress\"\r\n\r\nexport default function ProgressDemo() {\r\n const [progress, setProgress] = React.useState(13)\r\n\r\n React.useEffect(() => {\r\n const timer = setTimeout(() => setProgress(66), 500)\r\n return () => clearTimeout(timer)\r\n }, [])\r\n\r\n return \r\n}"
}
]
}
},
{
"name": "Radio Group",
"description": "A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\radio-group.mdx",
"docs": {
"import": {
"source": "radio-group.mdx",
"code": "import { Label } from \"@/components/ui/label\"\nimport { RadioGroup, RadioGroupItem } from \"@/components/ui/radio-group\""
},
"use": [
{
"source": "radio-group.mdx",
"code": "\n
\n \n \n
\n
\n \n \n
\n"
}
],
"examples": [
{
"source": "radio-group-demo.tsx",
"code": "import { Label } from \"@/components/ui/label\"\r\nimport { RadioGroup, RadioGroupItem } from \"@/components/ui/radio-group\"\r\n\r\nexport default function RadioGroupDemo() {\r\n return (\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Scroll Area",
"description": "Augments native scroll functionality for custom, cross-browser styling.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\scroll-area.mdx",
"docs": {
"import": {
"source": "scroll-area.mdx",
"code": "import { ScrollArea } from \"@/components/ui/scroll-area\""
},
"use": [
{
"source": "scroll-area.mdx",
"code": "\n Jokester began sneaking into the castle in the middle of the night and leaving\n jokes all over the place: under the king's pillow, in his soup, even in the\n royal toilet. The king was furious, but he couldn't seem to stop Jokester. And\n then, one day, the people of the kingdom discovered that the jokes left by\n Jokester were so funny that they couldn't help but laugh. And once they\n started laughing, they couldn't stop.\n"
}
],
"examples": [
{
"source": "scroll-area-demo.tsx",
"code": "import * as React from \"react\"\r\n\r\nimport { ScrollArea } from \"@/components/ui/scroll-area\"\r\nimport { Separator } from \"@/components/ui/separator\"\r\n\r\nconst tags = Array.from({ length: 50 }).map(\r\n (_, i, a) => `v1.2.0-beta.${a.length - i}`\r\n)\r\n\r\nexport default function ScrollAreaDemo() {\r\n return (\r\n \r\n
\r\n
Tags
\r\n {tags.map((tag) => (\r\n <>\r\n
\r\n {tag}\r\n
\r\n \r\n >\r\n ))}\r\n
\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Select",
"description": "Displays a list of options for the user to pick from—triggered by a button.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\select.mdx",
"docs": {
"import": {
"source": "select.mdx",
"code": "import {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/components/ui/select\""
},
"use": [
{
"source": "select.mdx",
"code": ""
}
],
"examples": [
{
"source": "select-demo.tsx",
"code": "import * as React from \"react\"\r\n\r\nimport {\r\n Select,\r\n SelectContent,\r\n SelectGroup,\r\n SelectItem,\r\n SelectLabel,\r\n SelectTrigger,\r\n SelectValue,\r\n} from \"@/components/ui/select\"\r\n\r\nexport default function SelectDemo() {\r\n return (\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Separator",
"description": "Visually or semantically separates content.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\separator.mdx",
"docs": {
"import": {
"source": "separator.mdx",
"code": "import { Separator } from \"@/components/ui/separator\""
},
"use": [{ "source": "separator.mdx", "code": "" }],
"examples": [
{
"source": "separator-demo.tsx",
"code": "import { Separator } from \"@/components/ui/separator\"\r\n\r\nexport default function SeparatorDemo() {\r\n return (\r\n
\r\n
\r\n
Radix Primitives
\r\n
\r\n An open-source UI component library.\r\n
\r\n
\r\n \r\n
\r\n
Blog
\r\n \r\n
Docs
\r\n \r\n
Source
\r\n
\r\n
\r\n )\r\n}"
}
]
}
},
{
"name": "Sheet",
"description": "Extends the Dialog component to display content that complements the main content of the screen.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\sheet.mdx",
"docs": {
"import": {
"source": "sheet.mdx",
"code": "import {\n Sheet,\n SheetContent,\n SheetDescription,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n} from \"@/components/ui/sheet\""
},
"use": [
{
"source": "sheet.mdx",
"code": "\n Open\n \n \n Are you sure absolutely sure?\n \n This action cannot be undone. This will permanently delete your account\n and remove your data from our servers.\n \n \n \n"
}
],
"examples": [
{
"source": "sheet-demo.tsx",
"code": "import { Button } from \"@/components/ui/button\"\r\nimport { Input } from \"@/components/ui/input\"\r\nimport { Label } from \"@/components/ui/label\"\r\nimport {\r\n Sheet,\r\n SheetClose,\r\n SheetContent,\r\n SheetDescription,\r\n SheetFooter,\r\n SheetHeader,\r\n SheetTitle,\r\n SheetTrigger,\r\n} from \"@/components/ui/sheet\"\r\n\r\nexport default function SheetDemo() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n Edit profile\r\n \r\n Make changes to your profile here. Click save when you're done.\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Skeleton",
"description": "Use to show a placeholder while content is loading.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\skeleton.mdx",
"docs": {
"import": {
"source": "skeleton.mdx",
"code": "import { Skeleton } from \"@/components/ui/skeleton\""
},
"use": [
{
"source": "skeleton.mdx",
"code": ""
}
],
"examples": [
{
"source": "skeleton-demo.tsx",
"code": "import { Skeleton } from \"@/components/ui/skeleton\"\r\n\r\nexport default function SkeletonDemo() {\r\n return (\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}"
}
]
}
},
{
"name": "Slider",
"description": "An input where the user selects a value from within a given range.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\slider.mdx",
"docs": {
"import": {
"source": "slider.mdx",
"code": "import { Slider } from \"@/components/ui/slider\""
},
"use": [
{
"source": "slider.mdx",
"code": ""
}
],
"examples": [
{
"source": "slider-demo.tsx",
"code": "import { cn } from \"@/lib/utils\"\r\nimport { Slider } from \"@/components/ui/slider\"\r\n\r\ntype SliderProps = React.ComponentProps\r\n\r\nexport default function SliderDemo({ className, ...props }: SliderProps) {\r\n return (\r\n \r\n )\r\n}"
}
]
}
},
{
"name": "Switch",
"description": "A control that allows the user to toggle between checked and not checked.",
"docs_path": "build\\gits\\shadcn-ui$ui-openv0remix\\docs\\switch.mdx",
"docs": {
"import": {
"source": "switch.mdx",
"code": "import { Switch } from \"@/components/ui/switch\""
},
"use": [{ "source": "switch.mdx", "code": "" }],
"examples": [
{
"source": "switch-demo.tsx",
"code": "import { Label } from \"@/components/ui/label\"\r\nimport { Switch } from \"@/components/ui/switch\"\r\n\r\nexport default function SwitchDemo() {\r\n return (\r\n