Switch

On/off toggle for settings that take effect immediately. Use when the action is reversible and binary.

Code

Implementation details for the switch component.

Dependencies

  • Primitives: color, spacing, corner-radius
  • Assets: none