1. Components
  2. Switch

Switch

Binary on/off toggle with a thumb.

Demo

Installation

terminal

Adavanced Examples

With Description and label

With Compose

We can fully compose the switch component to create a custom look and feel. Just have to pass the composeAll prop to the switch component.