Components
Switch
A toggle control for enabling or disabling settings.
Loading...
Installation
NPM packages are currently unstable and may cause issues. Use it at your own risk.
npm install @mijn-ui/react-switchUsage
import { Switch } from "@mijn-ui/react-switch"<Switch />Switch Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Switch | Styles the root switch component. |
thumb | Switch | Styles the thumb of the switch. |