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

17 lines
1.2 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "radio-style-variants",
"type": "registry:block",
"title": "radio-style-variants",
"registryDependencies": [
"https://retroui.dev/r/radio.json"
],
"files": [
{
"path": "preview/components/radio-style-variants.tsx",
"content": "import { RadioGroup } from \"@/components/retroui/Radio\";\n\nexport default function RadioStyleVariants() {\n return (\n <div className=\"flex gap-4\">\n <RadioGroup>\n <div className=\"flex items-center space-x-2\">\n <RadioGroup.Item value=\"default\" variant=\"default\" />\n <label htmlFor=\"default\">Default Style</label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <RadioGroup.Item value=\"outline\" variant=\"outline\" />\n <label htmlFor=\"outline\">Outline Style</label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <RadioGroup.Item value=\"solid\" variant=\"solid\" />\n <label htmlFor=\"solid\">Solid Style</label>\n </div>\n </RadioGroup>\n </div>\n );\n}\n",
"type": "registry:block",
"target": "components/retroui/preview/radio-style-variants.tsx"
}
]
}