Styled

This switch is nested inside a label. The state is uncontrolled.

Controlled

This This switch is placed adjacent to its label. The state is controlled.

WithinForm

TODO: Within Form

optional checked: false


required checked: false


stop propagation checked: false


Chromatic

Uncontrolled

Off

On

Controlled

Off

On

Disabled

State attributes

Unchecked

Checked

Disabled