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
  b80097cc_8fed_fe8f_2534_7a7e619c19d0["RadioGroupFieldset()"]
  cdec6282_dfc1_7744_f88a_d481e7997028["radio-group-fieldset.tsx"]
  b80097cc_8fed_fe8f_2534_7a7e619c19d0 -->|defined in| cdec6282_dfc1_7744_f88a_d481e7997028
  style b80097cc_8fed_fe8f_2534_7a7e619c19d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/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/radix/radio-group-fieldset.tsx.
Where is RadioGroupFieldset() defined?
RadioGroupFieldset() is defined in apps/v4/examples/radix/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