17 lines
853 B
JSON
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"
|
|
}
|
|
]
|
|
} |