{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "scroll-area-demo", "type": "registry:example", "author": "shadcn (https://ui.shadcn.com)", "registryDependencies": [ "scroll-area" ], "files": [ { "path": "examples/scroll-area-demo.tsx", "content": "import * as React from \"react\"\n\nimport { ScrollArea } from \"@/registry/default/ui/scroll-area\"\nimport { Separator } from \"@/registry/default/ui/separator\"\n\nconst tags = Array.from({ length: 50 }).map(\n (_, i, a) => `v1.2.0-beta.${a.length - i}`\n)\n\nexport default function ScrollAreaDemo() {\n return (\n \n
\n

Tags

\n {tags.map((tag) => (\n <>\n
\n {tag}\n
\n \n \n ))}\n
\n
\n )\n}\n", "type": "registry:example", "target": "" } ] }