Home / Function/ RadioGroupWithFieldSet() — ui Function Reference

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
  d8aae4ee_f095_1578_323d_5f5ae14509d5["RadioGroupWithFieldSet()"]
  d12829dd_5ced_9aa9_2bcb_2101c3088829["radio-group-example.tsx"]
  d8aae4ee_f095_1578_323d_5f5ae14509d5 -->|defined in| d12829dd_5ced_9aa9_2bcb_2101c3088829
  style d8aae4ee_f095_1578_323d_5f5ae14509d5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/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>
  )
}

Subdomains

Frequently Asked Questions

What does RadioGroupWithFieldSet() do?
RadioGroupWithFieldSet() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/radio-group-example.tsx.
Where is RadioGroupWithFieldSet() defined?
RadioGroupWithFieldSet() is defined in apps/v4/registry/bases/radix/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