Home / Function/ ToggleDisabled() — ui Function Reference

ToggleDisabled() — ui Function Reference

Architecture documentation for the ToggleDisabled() function in toggle-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  2b6ea5d8_8fc0_fcd4_52bd_5c7acb40698d["ToggleDisabled()"]
  732d07fe_4126_27b7_8a89_b8f9929b69b4["toggle-example.tsx"]
  2b6ea5d8_8fc0_fcd4_52bd_5c7acb40698d -->|defined in| 732d07fe_4126_27b7_8a89_b8f9929b69b4
  style 2b6ea5d8_8fc0_fcd4_52bd_5c7acb40698d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/toggle-example.tsx lines 295–308

function ToggleDisabled() {
  return (
    <Example title="Disabled">
      <div className="flex flex-wrap items-center gap-2">
        <Toggle aria-label="Toggle disabled" disabled>
          Disabled
        </Toggle>
        <Toggle variant="outline" aria-label="Toggle disabled outline" disabled>
          Disabled
        </Toggle>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does ToggleDisabled() do?
ToggleDisabled() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/toggle-example.tsx.
Where is ToggleDisabled() defined?
ToggleDisabled() is defined in apps/v4/registry/bases/radix/examples/toggle-example.tsx at line 295.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free