DocumentationComponents

Switch

New

Switch

Renders a Switch.

Start using via importing:

import { Switch } from "@perceptui/ui";
<Switch />

API References

PropTypeDescriptionDefault
colorstringColor of the Sliderblue
classNamestringclassName_

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