When to use
Use a switch to turn a single setting on or off with an immediate effect, like Wi-Fi or Notifications. If the change needs a Save button, a checkbox-style list row fits better.
Props
| Prop | Values | Default | Description |
|---|---|---|---|
checked | boolean | false | On. |
disabled | boolean | false | Grayed out. |
background | CSS color | green | On color. |