Summary
PMatSlideToggle is a native, form-compatible binary switch for independent settings that take effect immediately. It matches the 44 × 24px design while preserving a 48px interaction target.
Use a slide toggle for an immediate On/Off setting. Use Checkbox for selection or acknowledgement, and Radio for mutually exclusive choices.
When to Use
Use it forImmediate settings
- Notifications, biometrics, visibility, and device features.
- A single boolean value whose effect is clear from its label.
- Settings rows where the current state must remain visible.
Avoid it forChoices requiring confirmation
- Submitting a form, accepting terms, or selecting list items.
- Actions that cannot be safely reversed.
- Multiple options that should use Checkbox or Radio groups.