Switch

Switches toggle the selection of an item on or off

Usage

Switch toggles a single setting on or off.

import { Switch } from "@udixio/ui-react"
<Switch selected={false} onChange={(v) => console.log('selected:', v)} />

With icons

Provide activeIcon and/or inactiveIcon to display inside the thumb.

Disabled