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 5c98b000_10e7_4eba_4c86_15484a249492["switch-demo.tsx"] e632ae84_c5fb_40c9_7b9d_82d10e757faf["label"] 5c98b000_10e7_4eba_4c86_15484a249492 --> e632ae84_c5fb_40c9_7b9d_82d10e757faf 40f3be91_0c7c_f1ab_171b_122147c4d8a3["switch"] 5c98b000_10e7_4eba_4c86_15484a249492 --> 40f3be91_0c7c_f1ab_171b_122147c4d8a3 style 5c98b000_10e7_4eba_4c86_15484a249492 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Label } from "@/examples/base/ui/label"
import { Switch } from "@/examples/base/ui/switch"
export 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 DocumentationAtlas domain, Changelog 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/examples/base/switch-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