UI Kits
Forms

Toggle Switch

Boolean switch for settings and preferences.

Usage guidance

When to use it.

Use visible labels, helpful validation, and enough spacing for touch and keyboard users.

Accessibility

Implementation notes.

  • Associate every input with a visible label.
  • Expose validation errors in text.
  • Maintain logical keyboard order and sufficient touch target size.
Release QA

Implementation checklist.

0/4
Handoff notes

Implementation notes for this component.

Quick section export
<label class="ap-toggle"><input type="checkbox" checked><span></span><strong>Email notifications</strong></label>
Related components

More in Forms