Home / Function/ RadioGroupBasic() — ui Function Reference

RadioGroupBasic() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2fe3af42_0678_995e_b32d_17f7527cda86["RadioGroupBasic()"]
  d12829dd_5ced_9aa9_2bcb_2101c3088829["radio-group-example.tsx"]
  2fe3af42_0678_995e_b32d_17f7527cda86 -->|defined in| d12829dd_5ced_9aa9_2bcb_2101c3088829
  style 2fe3af42_0678_995e_b32d_17f7527cda86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/radio-group-example.tsx lines 31–56

function RadioGroupBasic() {
  return (
    <Example title="Basic">
      <RadioGroup defaultValue="comfortable">
        <Field orientation="horizontal">
          <RadioGroupItem value="default" id="r1" />
          <FieldLabel htmlFor="r1" className="font-normal">
            Default
          </FieldLabel>
        </Field>
        <Field orientation="horizontal">
          <RadioGroupItem value="comfortable" id="r2" />
          <FieldLabel htmlFor="r2" className="font-normal">
            Comfortable
          </FieldLabel>
        </Field>
        <Field orientation="horizontal">
          <RadioGroupItem value="compact" id="r3" />
          <FieldLabel htmlFor="r3" className="font-normal">
            Compact
          </FieldLabel>
        </Field>
      </RadioGroup>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does RadioGroupBasic() do?
RadioGroupBasic() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/radio-group-example.tsx.
Where is RadioGroupBasic() defined?
RadioGroupBasic() is defined in apps/v4/registry/bases/radix/examples/radio-group-example.tsx at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free