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
  dac2bfcd_1717_f70c_7c95_2997c4e5d763["radio-group-demo.tsx"]
  d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"]
  dac2bfcd_1717_f70c_7c95_2997c4e5d763 --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d
  a3246e53_c55c_1cf0_424d_b2142e1739ab["radio-group"]
  dac2bfcd_1717_f70c_7c95_2997c4e5d763 --> a3246e53_c55c_1cf0_424d_b2142e1739ab
  style dac2bfcd_1717_f70c_7c95_2997c4e5d763 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

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 apps/v4/registry/new-york-v4/examples/radio-group-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free