FieldRadio() — ui Function Reference
Architecture documentation for the FieldRadio() function in field-radio.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 3aa7d19b_1802_58c7_1e91_f1309510ba6a["FieldRadio()"] fe08b203_45b3_2ecd_ea12_253facedf64b["field-radio.tsx"] 3aa7d19b_1802_58c7_1e91_f1309510ba6a -->|defined in| fe08b203_45b3_2ecd_ea12_253facedf64b style 3aa7d19b_1802_58c7_1e91_f1309510ba6a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/field-radio.tsx lines 10–39
export function FieldRadio() {
return (
<FieldSet className="w-full max-w-xs">
<FieldLegend variant="label">Subscription Plan</FieldLegend>
<FieldDescription>
Yearly and lifetime plans offer significant savings.
</FieldDescription>
<RadioGroup defaultValue="monthly">
<Field orientation="horizontal">
<RadioGroupItem value="monthly" id="plan-monthly" />
<FieldLabel htmlFor="plan-monthly" className="font-normal">
Monthly ($9.99/month)
</FieldLabel>
</Field>
<Field orientation="horizontal">
<RadioGroupItem value="yearly" id="plan-yearly" />
<FieldLabel htmlFor="plan-yearly" className="font-normal">
Yearly ($99.99/year)
</FieldLabel>
</Field>
<Field orientation="horizontal">
<RadioGroupItem value="lifetime" id="plan-lifetime" />
<FieldLabel htmlFor="plan-lifetime" className="font-normal">
Lifetime ($299.99)
</FieldLabel>
</Field>
</RadioGroup>
</FieldSet>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does FieldRadio() do?
FieldRadio() is a function in the ui codebase, defined in apps/v4/examples/radix/field-radio.tsx.
Where is FieldRadio() defined?
FieldRadio() is defined in apps/v4/examples/radix/field-radio.tsx at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free