FieldRadio() — ui Function Reference
Architecture documentation for the FieldRadio() function in field-radio.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD edfbee89_141e_c719_28e0_2e88d61d4856["FieldRadio()"] 67a34dcd_0e36_ea3a_b751_b80785bfb6ee["field-radio.tsx"] edfbee89_141e_c719_28e0_2e88d61d4856 -->|defined in| 67a34dcd_0e36_ea3a_b751_b80785bfb6ee style edfbee89_141e_c719_28e0_2e88d61d4856 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/field-radio.tsx lines 12–43
export default function FieldRadio() {
return (
<div className="w-full max-w-md">
<FieldSet>
<FieldLabel>Subscription Plan</FieldLabel>
<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>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does FieldRadio() do?
FieldRadio() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/field-radio.tsx.
Where is FieldRadio() defined?
FieldRadio() is defined in apps/v4/registry/new-york-v4/examples/field-radio.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free