Home / File/ switch-disabled.tsx — ui Source File

switch-disabled.tsx — ui Source File

Architecture documentation for switch-disabled.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  66e75c53_b51a_f0d5_1f44_c420c4012a4f["switch-disabled.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  66e75c53_b51a_f0d5_1f44_c420c4012a4f --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  098564c8_4bac_7383_9c85_e180c474572e["switch"]
  66e75c53_b51a_f0d5_1f44_c420c4012a4f --> 098564c8_4bac_7383_9c85_e180c474572e
  style 66e75c53_b51a_f0d5_1f44_c420c4012a4f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Field, FieldLabel } from "@/examples/radix/ui/field"
import { Switch } from "@/examples/radix/ui/switch"

export function SwitchDisabled() {
  return (
    <Field orientation="horizontal" data-disabled className="w-fit">
      <Switch id="switch-disabled-unchecked" disabled />
      <FieldLabel htmlFor="switch-disabled-unchecked">Disabled</FieldLabel>
    </Field>
  )
}

Subdomains

Functions

Dependencies

  • field
  • switch

Frequently Asked Questions

What does switch-disabled.tsx do?
switch-disabled.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-disabled.tsx?
switch-disabled.tsx defines 1 function(s): SwitchDisabled.
What does switch-disabled.tsx depend on?
switch-disabled.tsx imports 2 module(s): field, switch.
Where is switch-disabled.tsx in the architecture?
switch-disabled.tsx is located at apps/v4/examples/radix/switch-disabled.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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