Skip to content
Theme UI
GitHub

Switch

Form switch input component

import { Switch } from 'theme-ui'

Variants

Radio variants can be defined in theme.forms and the component uses the theme.forms.switch variant by default.

Edit the page on GitHub
Previous:
Checkbox
Next:
Slider