Skip to content
Data Input

Switch

On/off control with label.

Switch

On/off control with label.

Examples

Default

Demo.tsxtsx
import { Switch } from '@var-ui/react';

<Switch>Enable notifications</Switch>

Props

Accessibility

Built on React Aria Components where applicable.