mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
- Updated build-registry.mts to include all component types (ui, ai, 3d, animation, code, etc.) - Fixed missing components issue by processing all components that start with 'components:' - Now properly handles components that only exist in one theme variant - Registry now contains 363 components (up from 117) - AI, 3D, animation, and code components are now accessible via the registry
15 lines
677 B
JSON
15 lines
677 B
JSON
{
|
|
"name": "input-with-text",
|
|
"registryDependencies": [
|
|
"input",
|
|
"button",
|
|
"label"
|
|
],
|
|
"files": [
|
|
{
|
|
"name": "input-with-text.tsx",
|
|
"content": "import { Input } from \"@/registry/default/ui/input\"\nimport { Label } from \"@/registry/default/ui/label\"\n\nexport default function InputWithText() {\n return (\n <div className=\"grid w-full max-w-sm items-center gap-1.5\">\n <Label htmlFor=\"email-2\">Email</Label>\n <Input type=\"email\" id=\"email-2\" placeholder=\"Email\" />\n <p className=\"text-sm text-muted-foreground\">Enter your email address.</p>\n </div>\n )\n}\n"
|
|
}
|
|
],
|
|
"type": "components:example"
|
|
} |