{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "card", "type": "registry:ui", "dependencies": ["@ark-ui/react"], "files": [ { "path": "./src/components/ui/card.tsx", "content": "import type * as React from \"react\"\n\nimport { createAnatomy } from \"@ark-ui/react/anatomy\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst anatomy = createAnatomy(\"card\", [\n \"root\",\n \"header\",\n \"footer\",\n \"title\",\n \"description\",\n \"content\",\n \"action\",\n])\nconst parts = anatomy.build()\n\nfunction Card({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n
\n )\n}\n\nfunction CardHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nfunction CardTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nfunction CardDescription({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nfunction CardAction({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nfunction CardContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nfunction CardFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nexport {\n Card,\n CardAction,\n CardContent,\n CardDescription,\n CardFooter,\n CardHeader,\n CardTitle,\n}\n", "type": "registry:ui" } ] }