{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "collapsible-demo", "type": "registry:example", "author": "shadcn (https://ui.shadcn.com)", "registryDependencies": [ "collapsible" ], "files": [ { "path": "examples/collapsible-demo.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { ChevronsUpDown } from \"lucide-react\"\n\nimport { Button } from \"@/registry/default/ui/button\"\nimport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n} from \"@/registry/default/ui/collapsible\"\n\nexport default function CollapsibleDemo() {\n const [isOpen, setIsOpen] = React.useState(false)\n\n return (\n \n
\n

\n @peduarte starred 3 repositories\n

\n \n \n \n
\n
\n @radix-ui/primitives\n
\n \n
\n @radix-ui/colors\n
\n
\n @stitches/react\n
\n
\n \n )\n}\n", "type": "registry:example", "target": "" } ] }