Serendie Design System

AboutGet StartedFoundationsComponents
© Mitsubishi Electric Corporation

Switch

Toggles between on/off states and makes the state visible in settings.

Last updated 11/1/2024

Example

Switch toggle triggers events. Implement handling in onCheckedChange.

States

Five states. Use the disabled prop when non-interactive.

Enabled
Checked
Disabled
Selected - Disabled
Focused