RadioGroupWithFieldSet() — ui Function Reference
Architecture documentation for the RadioGroupWithFieldSet() function in radio-group-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f608359a_c142_46a1_d869_95dd3460ce88["RadioGroupWithFieldSet()"] e09732a2_ec70_d8cf_a515_889fb2bd98e8["radio-group-example.tsx"] f608359a_c142_46a1_d869_95dd3460ce88 -->|defined in| e09732a2_ec70_d8cf_a515_889fb2bd98e8 style f608359a_c142_46a1_d869_95dd3460ce88 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/radio-group-example.tsx lines 98–129
function RadioGroupWithFieldSet() {
return (
<Example title="With FieldSet">
<FieldSet>
<FieldLegend>Battery Level</FieldLegend>
<FieldDescription>
Choose your preferred battery level.
</FieldDescription>
<RadioGroup defaultValue="medium">
<Field orientation="horizontal">
<RadioGroupItem value="high" id="battery-high" />
<FieldLabel htmlFor="battery-high" className="font-normal">
High
</FieldLabel>
</Field>
<Field orientation="horizontal">
<RadioGroupItem value="medium" id="battery-medium" />
<FieldLabel htmlFor="battery-medium" className="font-normal">
Medium
</FieldLabel>
</Field>
<Field orientation="horizontal">
<RadioGroupItem value="low" id="battery-low" />
<FieldLabel htmlFor="battery-low" className="font-normal">
Low
</FieldLabel>
</Field>
</RadioGroup>
</FieldSet>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does RadioGroupWithFieldSet() do?
RadioGroupWithFieldSet() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/radio-group-example.tsx.
Where is RadioGroupWithFieldSet() defined?
RadioGroupWithFieldSet() is defined in apps/v4/registry/bases/base/examples/radio-group-example.tsx at line 98.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free