Switch
Renders a Switch.
Start using via importing:
import { Switch } from "@perceptui/ui";
<Switch />
API References
Prop | Type | Description | Default |
---|---|---|---|
color | string | Color of the Slider | blue |
className | string | className | _ |
Examples
Color
<Switch color="red" />
<Switch color="yellow" />
<Switch color="green" />
<Switch color="cyan" />
<Switch color="dark" />
There are more color properties. Take your time to explore