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
  d87b8a26_65bb_665b_b06a_e90ce83a1025["ToggleDisabled()"]
  a3855539_0a9d_85ab_ed15_4f25cab72cdf["toggle-example.tsx"]
  d87b8a26_65bb_665b_b06a_e90ce83a1025 -->|defined in| a3855539_0a9d_85ab_ed15_4f25cab72cdf
  style d87b8a26_65bb_665b_b06a_e90ce83a1025 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/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/base/examples/toggle-example.tsx.
Where is ToggleDisabled() defined?
ToggleDisabled() is defined in apps/v4/registry/bases/base/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