Back to components

Switch

A toggle switch component for boolean settings.

Examples

Basic Switch

Props

PropTypeDefaultDescription
labelstring-Label for the switch
descriptionstring-Description text
size"sm" | "md" | "lg""md"Size of the switch