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.
A toggle input for binary on/off states.
Uncontrolled.
Use checked + onCheckedChange for controlled state.
Use id and pair with Label when label needs separate positioning.