Home / File/ radio-group-demo.tsx — ui Source File

radio-group-demo.tsx — ui Source File

Architecture documentation for radio-group-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  d7b6b6eb_dbe5_53b3_bd98_a26f1d9ce8ff["radio-group-demo.tsx"]
  f826d306_7d63_5ba3_6a53_387904d37a9f["label"]
  d7b6b6eb_dbe5_53b3_bd98_a26f1d9ce8ff --> f826d306_7d63_5ba3_6a53_387904d37a9f
  dcf2e363_f0c9_b040_9d55_bfa0d2402262["radio-group"]
  d7b6b6eb_dbe5_53b3_bd98_a26f1d9ce8ff --> dcf2e363_f0c9_b040_9d55_bfa0d2402262
  style d7b6b6eb_dbe5_53b3_bd98_a26f1d9ce8ff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Label } from "@/registry/default/ui/label"
import { RadioGroup, RadioGroupItem } from "@/registry/default/ui/radio-group"

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

Subdomains

Functions

Dependencies

  • label
  • radio-group

Frequently Asked Questions

What does radio-group-demo.tsx do?
radio-group-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in radio-group-demo.tsx?
radio-group-demo.tsx defines 1 function(s): RadioGroupDemo.
What does radio-group-demo.tsx depend on?
radio-group-demo.tsx imports 2 module(s): label, radio-group.
Where is radio-group-demo.tsx in the architecture?
radio-group-demo.tsx is located at deprecated/www/registry/default/internal/sink/components/radio-group-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free