switch-sizes.tsx — ui Source File
Architecture documentation for switch-sizes.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 115c57a2_ca74_d716_6588_60d627fbc535["switch-sizes.tsx"] e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] 115c57a2_ca74_d716_6588_60d627fbc535 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 40f3be91_0c7c_f1ab_171b_122147c4d8a3["switch"] 115c57a2_ca74_d716_6588_60d627fbc535 --> 40f3be91_0c7c_f1ab_171b_122147c4d8a3 style 115c57a2_ca74_d716_6588_60d627fbc535 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Field, FieldGroup, FieldLabel } from "@/examples/base/ui/field"
import { Switch } from "@/examples/base/ui/switch"
export function SwitchSizes() {
return (
<FieldGroup className="w-full max-w-[10rem]">
<Field orientation="horizontal">
<Switch id="switch-size-sm" size="sm" />
<FieldLabel htmlFor="switch-size-sm">Small</FieldLabel>
</Field>
<Field orientation="horizontal">
<Switch id="switch-size-default" size="default" />
<FieldLabel htmlFor="switch-size-default">Default</FieldLabel>
</Field>
</FieldGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- field
- switch
Source
Frequently Asked Questions
What does switch-sizes.tsx do?
switch-sizes.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in switch-sizes.tsx?
switch-sizes.tsx defines 1 function(s): SwitchSizes.
What does switch-sizes.tsx depend on?
switch-sizes.tsx imports 2 module(s): field, switch.
Where is switch-sizes.tsx in the architecture?
switch-sizes.tsx is located at apps/v4/examples/base/switch-sizes.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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