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.
Entity Profile
Dependency Diagram
graph LR c065722e_1175_7045_ee51_f57545309fda["radio-group-demo.tsx"] fa665cdb_5f79_b81a_95ab_12ba182fc175["label"] c065722e_1175_7045_ee51_f57545309fda --> fa665cdb_5f79_b81a_95ab_12ba182fc175 e3816a69_e9ee_ea7d_ed26_21225e55c2ff["radio-group"] c065722e_1175_7045_ee51_f57545309fda --> e3816a69_e9ee_ea7d_ed26_21225e55c2ff style c065722e_1175_7045_ee51_f57545309fda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Label } from "@/registry/new-york/ui/label"
import { RadioGroup, RadioGroupItem } from "@/registry/new-york/ui/radio-group"
export default 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>
)
}
Domain
Subdomains
Functions
Dependencies
- label
- radio-group
Source
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/new-york/examples/radio-group-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free