Switch

Toggle switches using <input type="checkbox" role="switch">.

← Back to examples

Basic switch

Disabled

With validation

In a form context

Preferences