Switch

Switch is a toggle control used to turn a single option on or off. Commonly used for binary settings—like enabling features or switching modes—it provides immediate, visible feedback to indicate the current state.

  • Can be controlled or uncontrolled

  • Full keyboard navigation

  • Multiple sizes, elastic effect

  • Animated using Motion

  • Handles invalid appearance

  • Easy to customize

  • Respects reduce motion via system settings and props