{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "carousel-example", "title": "Carousel", "registryDependencies": ["card", "carousel", "example"], "files": [ { "path": "registry/radix-sera/examples/carousel-example.tsx", "content": "import {\n Example,\n ExampleWrapper,\n} from \"@/registry/radix-sera/components/example\"\nimport { Card, CardContent } from \"@/registry/radix-sera/ui/card\"\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n} from \"@/registry/radix-sera/ui/carousel\"\n\nexport default function CarouselExample() {\n return (\n \n \n \n \n \n )\n}\n\nfunction CarouselBasic() {\n return (\n \n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n
\n \n \n {index + 1}\n \n \n
\n
\n ))}\n
\n \n \n
\n
\n )\n}\n\nfunction CarouselMultiple() {\n return (\n \n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n
\n \n \n {index + 1}\n \n \n
\n
\n ))}\n
\n \n \n \n
\n )\n}\n\nfunction CarouselWithGap() {\n return (\n \n \n \n {Array.from({ length: 5 }).map((_, index) => (\n \n
\n \n \n {index + 1}\n \n \n
\n
\n ))}\n
\n \n \n
\n
\n )\n}\n", "type": "registry:example" } ], "type": "registry:example" }