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 3380c9f9_dbaf_3f61_0e3c_d2e7853ae452["switch-description.tsx"] b5f68436_cf6b_fba3_fb29_abf27fd13442["field"] 3380c9f9_dbaf_3f61_0e3c_d2e7853ae452 --> b5f68436_cf6b_fba3_fb29_abf27fd13442 098564c8_4bac_7383_9c85_e180c474572e["switch"] 3380c9f9_dbaf_3f61_0e3c_d2e7853ae452 --> 098564c8_4bac_7383_9c85_e180c474572e style 3380c9f9_dbaf_3f61_0e3c_d2e7853ae452 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Field,
FieldContent,
FieldDescription,
FieldLabel,
} from "@/examples/radix/ui/field"
import { Switch } from "@/examples/radix/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/radix/switch-description.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free