{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "radio-group-example",
"title": "Radio Group",
"registryDependencies": [
"field",
"radio-group",
"example"
],
"files": [
{
"path": "registry/radix-luma/examples/radio-group-example.tsx",
"content": "import {\n Example,\n ExampleWrapper,\n} from \"@/registry/radix-luma/components/example\"\nimport {\n Field,\n FieldContent,\n FieldDescription,\n FieldLabel,\n FieldLegend,\n FieldSet,\n} from \"@/registry/radix-luma/ui/field\"\nimport {\n RadioGroup,\n RadioGroupItem,\n} from \"@/registry/radix-luma/ui/radio-group\"\n\nexport default function RadioGroupExample() {\n return (\n \n \n \n \n \n \n \n \n )\n}\n\nfunction RadioGroupBasic() {\n return (\n \n \n \n \n \n Default\n \n \n \n \n \n Comfortable\n \n \n \n \n \n Compact\n \n \n \n \n )\n}\n\nfunction RadioGroupWithDescriptions() {\n return (\n \n \n \n \n \n Plus
\n \n For individuals and small teams\n \n \n \n \n \n \n \n \n Pro
\n For growing businesses\n \n \n \n \n \n \n \n Enterprise
\n \n For large teams and enterprises\n \n \n \n \n \n \n \n )\n}\n\nfunction RadioGroupWithFieldSet() {\n return (\n \n \n \n )\n}\n\nfunction RadioGroupGrid() {\n return (\n \n \n \n \n \n Small
\n \n \n \n \n \n Medium
\n \n \n \n \n \n Large
\n \n \n \n \n \n X-Large
\n \n \n \n \n )\n}\n\nfunction RadioGroupDisabled() {\n return (\n \n \n \n \n \n Option 1\n \n \n \n \n \n Option 2\n \n \n \n \n \n Option 3\n \n \n \n \n )\n}\n\nfunction RadioGroupInvalid() {\n return (\n \n \n \n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}