Component Library

Browse and explore components

Toggle Switch

A Toggle Switch is a UI component used to switch between two states, such as on and off.

Default Toggle Switch

Color Toggle Switch

Toggle Switch Sizes

API ( Toggle Switch )

PropDescriptionTypeDefault

color

Sets the background color of the Toggle Switch.

"blue" | "yellow" | "success" | "info"

"default"

size

Sets the size of the Toggle Switch.

"sm" | "md" | "lg"

"md"