switch-description.tsx — ui Source File
Architecture documentation for switch-description.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR abe29901_b600_9e07_50e6_7d24ab848538["switch-description.tsx"] e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] abe29901_b600_9e07_50e6_7d24ab848538 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 40f3be91_0c7c_f1ab_171b_122147c4d8a3["switch"] abe29901_b600_9e07_50e6_7d24ab848538 --> 40f3be91_0c7c_f1ab_171b_122147c4d8a3 style abe29901_b600_9e07_50e6_7d24ab848538 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Field,
FieldContent,
FieldDescription,
FieldLabel,
} from "@/examples/base/ui/field"
import { Switch } from "@/examples/base/ui/switch"
export function SwitchDescription() {
return (
<Field orientation="horizontal" className="max-w-sm">
<FieldContent>
<FieldLabel htmlFor="switch-focus-mode">
Share across devices
</FieldLabel>
<FieldDescription>
Focus is shared across devices, and turns off when you leave the app.
</FieldDescription>
</FieldContent>
<Switch id="switch-focus-mode" />
</Field>
)
}
Domain
Subdomains
Functions
Dependencies
- field
- switch
Source
Frequently Asked Questions
What does switch-description.tsx do?
switch-description.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in switch-description.tsx?
switch-description.tsx defines 1 function(s): SwitchDescription.
What does switch-description.tsx depend on?
switch-description.tsx imports 2 module(s): field, switch.
Where is switch-description.tsx in the architecture?
switch-description.tsx is located at apps/v4/examples/base/switch-description.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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