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
  d884772d_70db_ffab_f64a_7ccbd87515f0["RadioGroupDemo()"]
  dac2bfcd_1717_f70c_7c95_2997c4e5d763["radio-group-demo.tsx"]
  d884772d_70db_ffab_f64a_7ccbd87515f0 -->|defined in| dac2bfcd_1717_f70c_7c95_2997c4e5d763
  style d884772d_70db_ffab_f64a_7ccbd87515f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/radio-group-demo.tsx lines 7–24

export default function RadioGroupDemo() {
  return (
    <RadioGroup defaultValue="comfortable">
      <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/registry/new-york-v4/examples/radio-group-demo.tsx.
Where is RadioGroupDemo() defined?
RadioGroupDemo() is defined in apps/v4/registry/new-york-v4/examples/radio-group-demo.tsx at line 7.

Analyze Your Own Codebase

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

Try Supermodel Free