Brand Design System

Toggle Switch

Switches toggle the state of a single setting on or off. Material Design 3 switches feature a track and handle design with distinct selected and unselected states.

Live Preview

Settings

Dark Mode

Use dark theme throughout the app

Notifications

Receive push notifications

Auto-save

Automatically save your changes

Analytics

Share anonymous usage data

With Icon

Wi-Fi

Disabled States

Disabled (off)
Disabled (on)

Brand Properties

PropertyTypeMaterial DefaultHoB ValueTAE Value
track.widthdimension52px52px52px
track.heightdimension32px32px32px
track.borderRadiusdimension16px16px16px
handle.sizeSelecteddimension24px24px24px
handle.sizeUnselecteddimension16px16px16px
selected.trackColorcolor#6750A4#038012#1A5129
selected.handleColorcolor#FFFFFF#FFFFFF#FFFFFF
unselected.trackColorcolor#79747E#79747E#79747E
unselected.handleColorcolor#FEF7FF#FEF7FF#FEF7FF
disabled.trackColorcolor#E7E0EC#E7E0EC#E7E0EC
touchTarget.minSizedimension48px48px48px

Usage Guidelines

  • Use switches for binary on/off settings that take effect immediately
  • Use a checkbox instead if the user must take an additional action (like clicking a save button) for the change to take effect
  • Position the switch to the right of the label for consistency
  • Provide clear feedback with appropriate labels or descriptions
  • Consider adding icons to the handle to reinforce the state

Related