switch-demo.tsx — ui Source File
Architecture documentation for switch-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 95313b3e_9a60_3bba_a8a9_c3f875f66532["switch-demo.tsx"] d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"] 95313b3e_9a60_3bba_a8a9_c3f875f66532 --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d 38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9["switch"] 95313b3e_9a60_3bba_a8a9_c3f875f66532 --> 38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9 style 95313b3e_9a60_3bba_a8a9_c3f875f66532 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Label } from "@/registry/new-york-v4/ui/label"
import { Switch } from "@/registry/new-york-v4/ui/switch"
export default function SwitchDemo() {
return (
<div className="flex items-center space-x-2">
<Switch id="airplane-mode" />
<Label htmlFor="airplane-mode">Airplane Mode</Label>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- label
- switch
Source
Frequently Asked Questions
What does switch-demo.tsx do?
switch-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 switch-demo.tsx?
switch-demo.tsx defines 1 function(s): SwitchDemo.
What does switch-demo.tsx depend on?
switch-demo.tsx imports 2 module(s): label, switch.
Where is switch-demo.tsx in the architecture?
switch-demo.tsx is located at apps/v4/registry/new-york-v4/examples/switch-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