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 DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2828fdf2_7622_4820_993d_93990bc30110["radio-group-demo.tsx"]
  2a43f855_1408_526d_d4d2_31c7a87506c6["label"]
  2828fdf2_7622_4820_993d_93990bc30110 --> 2a43f855_1408_526d_d4d2_31c7a87506c6
  49324200_de94_25c3_5155_08b8655881b5["radio-group"]
  2828fdf2_7622_4820_993d_93990bc30110 --> 49324200_de94_25c3_5155_08b8655881b5
  style 2828fdf2_7622_4820_993d_93990bc30110 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

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 DocumentationAtlas domain, Changelog 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/examples/radix/radio-group-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free