Switch

A toggle input for binary on/off states.

Default

Uncontrolled.

Controlled

Use checked + onCheckedChange for controlled state.

Disabled

With Label

Use id and pair with Label when label needs separate positioning.