Toggle Component
Basic
Variants
variant sets the switch's “on” colour.
Sizes
Aligns with inputs
The switch stays switch-sized, but its wrapper takes the control height for its size, so it lines up on the same baseline as a same-size Input.
variant sets the switch's “on” colour.
The switch stays switch-sized, but its wrapper takes the control height for its size, so it lines up on the same baseline as a same-size Input.