Home / Function/ RadioGroupDemo() — ui Function Reference

RadioGroupDemo() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  562aba6c_8421_dde8_b37f_67359bf792c8["RadioGroupDemo()"]
  2828fdf2_7622_4820_993d_93990bc30110["radio-group-demo.tsx"]
  562aba6c_8421_dde8_b37f_67359bf792c8 -->|defined in| 2828fdf2_7622_4820_993d_93990bc30110
  style 562aba6c_8421_dde8_b37f_67359bf792c8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/radio-group-demo.tsx lines 4–21

export function RadioGroupDemo() {
  return (
    <RadioGroup defaultValue="comfortable" className="w-fit">
      <div className="flex items-center gap-3">
        <RadioGroupItem value="default" id="r1" />
        <Label htmlFor="r1">Default</Label>
      </div>
      <div className="flex items-center gap-3">
        <RadioGroupItem value="comfortable" id="r2" />
        <Label htmlFor="r2">Comfortable</Label>
      </div>
      <div className="flex items-center gap-3">
        <RadioGroupItem value="compact" id="r3" />
        <Label htmlFor="r3">Compact</Label>
      </div>
    </RadioGroup>
  )
}

Subdomains

Frequently Asked Questions

What does RadioGroupDemo() do?
RadioGroupDemo() is a function in the ui codebase, defined in apps/v4/examples/radix/radio-group-demo.tsx.
Where is RadioGroupDemo() defined?
RadioGroupDemo() is defined in apps/v4/examples/radix/radio-group-demo.tsx at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free