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
  3f7f6da7_85d4_bf4a_72d1_2e9ecaad749a["radio-group-demo.tsx"]
  e632ae84_c5fb_40c9_7b9d_82d10e757faf["label"]
  3f7f6da7_85d4_bf4a_72d1_2e9ecaad749a --> e632ae84_c5fb_40c9_7b9d_82d10e757faf
  654cf81d_2869_1e7e_dc6d_1a0b30a54a2a["radio-group"]
  3f7f6da7_85d4_bf4a_72d1_2e9ecaad749a --> 654cf81d_2869_1e7e_dc6d_1a0b30a54a2a
  style 3f7f6da7_85d4_bf4a_72d1_2e9ecaad749a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Label } from "@/examples/base/ui/label"
import { RadioGroup, RadioGroupItem } from "@/examples/base/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/base/radio-group-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free