Home / Function/ RadioGroupFieldset() — ui Function Reference

RadioGroupFieldset() — ui Function Reference

Architecture documentation for the RadioGroupFieldset() function in radio-group-fieldset.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  200a2a5a_2d11_113d_5edc_776b7fec218a["RadioGroupFieldset()"]
  3262d691_bb43_103c_a2ba_0b62b915ba00["radio-group-fieldset.tsx"]
  200a2a5a_2d11_113d_5edc_776b7fec218a -->|defined in| 3262d691_bb43_103c_a2ba_0b62b915ba00
  style 200a2a5a_2d11_113d_5edc_776b7fec218a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/radio-group-fieldset.tsx lines 10–39

export function RadioGroupFieldset() {
  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>
  )
}

Subdomains

Frequently Asked Questions

What does RadioGroupFieldset() do?
RadioGroupFieldset() is a function in the ui codebase, defined in apps/v4/examples/base/radio-group-fieldset.tsx.
Where is RadioGroupFieldset() defined?
RadioGroupFieldset() is defined in apps/v4/examples/base/radio-group-fieldset.tsx at line 10.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free