{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "card-demo", "type": "registry:ui", "dependencies": [ "lucide-react" ], "registryDependencies": [ "card", "button", "badge" ], "files": [ { "path": "components/examples/card-demo.tsx", "content": "\"use client\"\n\nimport { Calendar, Heart, ShoppingCart, Star } from \"lucide-react\"\n\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\n\nexport default function CardDemo() {\n return (\n
\n {/* Plain Card */}\n \n \n

\n This is a plain card with simple content. Perfect for displaying\n basic information.\n

\n
\n
\n\n {/* Card with Title, Description, and Button */}\n \n \n Card Title\n \n This is a brief description of the card content.\n \n \n \n

\n More detailed information goes here in the card content area.\n

\n
\n \n \n \n
\n\n {/* Blog Card */}\n \n
\n \n
\n \n Mar 15, 2025\n \n 5 min read\n
\n \n Getting Started with Next.js\n \n \n Learn how to build modern web applications with Next.js, React, and\n TypeScript.\n \n
\n \n \n \n \n\n {/* E-commerce Product Card */}\n \n
\n
\n New\n
\n \n Premium Wireless\n \n High-quality audio with noise cancellation\n \n \n \n
\n
\n {[...Array(4)].map((_, i) => (\n \n ))}\n \n (128)\n
\n
$299
\n
\n
\n \n \n \n \n \n
\n )\n}\n", "type": "registry:ui" } ] }