Files
nanocode/RetroUI/public/r/input-style-with-label.json
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

17 lines
853 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "input-style-with-label",
"type": "registry:block",
"title": "input-style-with-label",
"registryDependencies": [
"https://retroui.dev/r/input.json"
],
"files": [
{
"path": "preview/components/input-style-with-label.tsx",
"content": "import { Input } from \"@/components/retroui/Input\";\nimport { Label } from \"@/components/retroui/Label\";\n\nexport default function InputStyleWithLabel() {\n return (\n <div className=\"grid w-full max-w-sm items-center gap-1.5\">\n <Label htmlFor=\"pokemon\">Favorite Pokemon</Label>\n <Input type=\"pokemon\" id=\"pokemon\" placeholder=\"Charmander\" />\n </div>\n );\n}\n",
"type": "registry:block",
"target": "components/retroui/preview/input-style-with-label.tsx"
}
]
}