Files
shadcn-ui/apps/www/public/r/styles/default/skeleton-card.json
shadcn 254198b4bf feat: add shadcn/registry (#6339)
* feat: implement shadcn/registry

* feat: add schema field

* fix: import

* chore: add changeset

* chore: remove console

* fix: tests

* fix: diff command

* feat: move to schema/registy-item.json

* fix

* ci: switch to node 20

* ci: build packages
2025-01-14 10:50:19 +04:00

17 lines
767 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "skeleton-card",
"type": "registry:example",
"author": "shadcn (https://ui.shadcn.com)",
"registryDependencies": [
"skeleton"
],
"files": [
{
"path": "examples/skeleton-card.tsx",
"content": "import { Skeleton } from \"@/registry/default/ui/skeleton\"\n\nexport default function SkeletonCard() {\n return (\n <div className=\"flex flex-col space-y-3\">\n <Skeleton className=\"h-[125px] w-[250px] rounded-xl\" />\n <div className=\"space-y-2\">\n <Skeleton className=\"h-4 w-[250px]\" />\n <Skeleton className=\"h-4 w-[200px]\" />\n </div>\n </div>\n )\n}\n",
"type": "registry:example",
"target": ""
}
]
}