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

Relationship Graph

Source Code

apps/v4/examples/base/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/base/radio-group-demo.tsx.
Where is RadioGroupDemo() defined?
RadioGroupDemo() is defined in apps/v4/examples/base/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