Material Design 3 switch tokens
Browse tokens
Enabled
Icon
| Token | Value |
|---|---|
Switch selected icon colormd.comp.switch.selected.icon.color | #6750A4 Switch selected icon color#6750A4 md.comp.switch.selected.icon.color
Color#6750A4 |
Switch selected icon sizemd.comp.switch.selected.icon.size | 16dp Switch selected icon size16dp md.comp.switch.selected.icon.size16dp |
Switch unselected icon colormd.comp.switch.unselected.icon.color | #E6E0E9 Switch unselected icon color#E6E0E9 md.comp.switch.unselected.icon.color
Color#E6E0E9 |
Switch unselected icon sizemd.comp.switch.unselected.icon.size | 16dp Switch unselected icon size16dp md.comp.switch.unselected.icon.size16dp |
Track
| Token | Value |
|---|---|
Switch track heightmd.comp.switch.track.height | 32dp Switch track height32dp md.comp.switch.track.height32dp |
Switch track widthmd.comp.switch.track.width | 52dp Switch track width52dp md.comp.switch.track.width52dp |
Switch track outline colormd.comp.switch.unselected.track.outline.color | #79747E Switch track outline color#79747E md.comp.switch.unselected.track.outline.color
Color#79747E |
Switch track outline widthmd.comp.switch.track.outline.width | 2dp Switch track outline width2dp md.comp.switch.track.outline.width2dp |
Switch track shapemd.comp.switch.track.shape | Full Switch track shapeFull md.comp.switch.track.shape
Full |
Switch selected track colormd.comp.switch.selected.track.color | #6750A4 Switch selected track color#6750A4 md.comp.switch.selected.track.color
Color#6750A4 |
Switch unselected track colormd.comp.switch.unselected.track.color | #E6E0E9 Switch unselected track color#E6E0E9 md.comp.switch.unselected.track.color
Color#E6E0E9 |
Handle
| Token | Value |
|---|---|
Switch unselected handle heightmd.comp.switch.unselected.handle.height | 16dp Switch unselected handle height16dp md.comp.switch.unselected.handle.height16dp |
Switch with icon handle heightmd.comp.switch.with-icon.handle.height | 24dp Switch with icon handle height24dp md.comp.switch.with-icon.handle.height24dp |
Switch selected handle heightmd.comp.switch.selected.handle.height | 24dp Switch selected handle height24dp md.comp.switch.selected.handle.height24dp |
Switch pressed handle heightmd.comp.switch.pressed.handle.height | 28dp Switch pressed handle height28dp md.comp.switch.pressed.handle.height28dp |
Switch unselected handle widthmd.comp.switch.unselected.handle.width | 16dp Switch unselected handle width16dp md.comp.switch.unselected.handle.width16dp |
Switch with icon handle widthmd.comp.switch.with-icon.handle.width | 24dp Switch with icon handle width24dp md.comp.switch.with-icon.handle.width24dp |
Switch selected handle widthmd.comp.switch.selected.handle.width | 24dp Switch selected handle width24dp md.comp.switch.selected.handle.width24dp |
Switch pressed handle widthmd.comp.switch.pressed.handle.width | 28dp Switch pressed handle width28dp md.comp.switch.pressed.handle.width28dp |
Switch handle shapemd.comp.switch.handle.shape | Full Switch handle shapeFull md.comp.switch.handle.shape
Full |
Switch selected handle colormd.comp.switch.selected.handle.color | #FFFFFF Switch selected handle color#FFFFFF md.comp.switch.selected.handle.color
Color#FFFFFF |
Switch unselected handle colormd.comp.switch.unselected.handle.color | #79747E Switch unselected handle color#79747E md.comp.switch.unselected.handle.color
Color#79747E |
Switch handle shadow colormd.comp.switch.handle.shadow-color | #000000 Switch handle shadow color#000000 md.comp.switch.handle.shadow-color
Color#000000 |
Switch handle elevationmd.comp.switch.handle.elevation | 1dp Switch handle elevation1dp md.comp.switch.handle.elevation
1dp |
Switch handle heightmd.comp.switch.handle.height | 20dp Switch handle height20dp md.comp.switch.handle.height20dp |
Switch handle widthmd.comp.switch.handle.width | 20dp Switch handle width20dp md.comp.switch.handle.width20dp |
State layer
| Token | Value |
|---|---|
Switch state layer sizemd.comp.switch.state-layer.size | 40dp Switch state layer size40dp md.comp.switch.state-layer.size40dp |
Switch state layer shapemd.comp.switch.state-layer.shape | Full Switch state layer shapeFull md.comp.switch.state-layer.shape
Full |
Disabled
Icon
| Token | Value |
|---|---|
Switch disabled selected icon colormd.comp.switch.disabled.selected.icon.color | #1D1B20 Switch disabled selected icon color#1D1B20 md.comp.switch.disabled.selected.icon.color
Color#1D1B20 |
Switch disabled selected icon opacitymd.comp.switch.disabled.selected.icon.opacity | 38% Switch disabled selected icon opacity38% md.comp.switch.disabled.selected.icon.opacity38% |
Switch disabled unselected icon colormd.comp.switch.disabled.unselected.icon.color | #E6E0E9 Switch disabled unselected icon color#E6E0E9 md.comp.switch.disabled.unselected.icon.color
Color#E6E0E9 |
Switch disabled unselected icon opacitymd.comp.switch.disabled.unselected.icon.opacity | 38% Switch disabled unselected icon opacity38% md.comp.switch.disabled.unselected.icon.opacity38% |
Track
| Token | Value |
|---|---|
Switch disabled track opacitymd.comp.switch.disabled.track.opacity | 12% Switch disabled track opacity12% md.comp.switch.disabled.track.opacity12% |
Switch disabled selected track colormd.comp.switch.disabled.selected.track.color | #1D1B20 Switch disabled selected track color#1D1B20 md.comp.switch.disabled.selected.track.color
Color#1D1B20 |
Switch disabled unselected track colormd.comp.switch.disabled.unselected.track.color | #E6E0E9 Switch disabled unselected track color#E6E0E9 md.comp.switch.disabled.unselected.track.color
Color#E6E0E9 |
Switch disabled unselected track outline colormd.comp.switch.disabled.unselected.track.outline.color | #1D1B20 Switch disabled unselected track outline color#1D1B20 md.comp.switch.disabled.unselected.track.outline.color
Color#1D1B20 |
Handle
| Token | Value |
|---|---|
Switch disabled unselected handle opacitymd.comp.switch.disabled.unselected.handle.opacity | 38% Switch disabled unselected handle opacity38% md.comp.switch.disabled.unselected.handle.opacity38% |
Switch disabled selected handle opacitymd.comp.switch.disabled.selected.handle.opacity | 100% Switch disabled selected handle opacity100% md.comp.switch.disabled.selected.handle.opacity100% |
Switch disabled selected handle colormd.comp.switch.disabled.selected.handle.color | #FEF7FF Switch disabled selected handle color#FEF7FF md.comp.switch.disabled.selected.handle.color
Color#FEF7FF |
Switch disabled unselected handle colormd.comp.switch.disabled.unselected.handle.color | #1D1B20 Switch disabled unselected handle color#1D1B20 md.comp.switch.disabled.unselected.handle.color
Color#1D1B20 |
Switch disabled handle opacitymd.comp.switch.disabled.handle.opacity | 38% Switch disabled handle opacity38% md.comp.switch.disabled.handle.opacity38% |
Switch disabled handle elevationmd.comp.switch.disabled.handle.elevation | 0dp Switch disabled handle elevation0dp md.comp.switch.disabled.handle.elevation
0dp |
Hovered
Icon
| Token | Value |
|---|---|
Switch selected hover icon colormd.comp.switch.selected.hover.icon.color | #6750A4 Switch selected hover icon color#6750A4 md.comp.switch.selected.hover.icon.color
Color#6750A4 |
Switch unselected hover icon colormd.comp.switch.unselected.hover.icon.color | #E6E0E9 Switch unselected hover icon color#E6E0E9 md.comp.switch.unselected.hover.icon.color
Color#E6E0E9 |
Track
| Token | Value |
|---|---|
Switch selected hover track colormd.comp.switch.selected.hover.track.color | #6750A4 Switch selected hover track color#6750A4 md.comp.switch.selected.hover.track.color
Color#6750A4 |
Switch selected hover state layer colormd.comp.switch.selected.hover.state-layer.color | #6750A4 Switch selected hover state layer color#6750A4 md.comp.switch.selected.hover.state-layer.color
Color#6750A4 |
Switch selected hover state layer opacitymd.comp.switch.selected.hover.state-layer.opacity | 8% Switch selected hover state layer opacity8% md.comp.switch.selected.hover.state-layer.opacity
8% |
Switch unselected hover track colormd.comp.switch.unselected.hover.track.color | #E6E0E9 Switch unselected hover track color#E6E0E9 md.comp.switch.unselected.hover.track.color
Color#E6E0E9 |
Switch unselected hover track outline colormd.comp.switch.unselected.hover.track.outline.color | #79747E Switch unselected hover track outline color#79747E md.comp.switch.unselected.hover.track.outline.color
Color#79747E |
Switch unselected hover state layer colormd.comp.switch.unselected.hover.state-layer.color | #1D1B20 Switch unselected hover state layer color#1D1B20 md.comp.switch.unselected.hover.state-layer.color
Color#1D1B20 |
Switch unselected hover state layer opacitymd.comp.switch.unselected.hover.state-layer.opacity | 8% Switch unselected hover state layer opacity8% md.comp.switch.unselected.hover.state-layer.opacity
8% |
Handle
| Token | Value |
|---|---|
Switch selected hover handle colormd.comp.switch.selected.hover.handle.color | #EADDFF Switch selected hover handle color#EADDFF md.comp.switch.selected.hover.handle.color
Color#EADDFF |
Switch unselected hover handle colormd.comp.switch.unselected.hover.handle.color | #49454F Switch unselected hover handle color#49454F md.comp.switch.unselected.hover.handle.color
Color#49454F |
Focused
Focus indicator
| Token | Value |
|---|---|
Switch focus indicator colormd.comp.switch.focus.indicator.color | #625B71 Switch focus indicator color#625B71 md.comp.switch.focus.indicator.color
Color#625B71 |
Switch focus indicator thicknessmd.comp.switch.focus.indicator.thickness | 3dp Switch focus indicator thickness3dp md.comp.switch.focus.indicator.thickness
3dp |
Switch focus indicator offsetmd.comp.switch.focus.indicator.offset | 2dp Switch focus indicator offset2dp md.comp.switch.focus.indicator.offset
2dp |
Icon
| Token | Value |
|---|---|
Switch selected focus icon colormd.comp.switch.selected.focus.icon.color | #6750A4 Switch selected focus icon color#6750A4 md.comp.switch.selected.focus.icon.color
Color#6750A4 |
Switch unselected focus icon colormd.comp.switch.unselected.focus.icon.color | #E6E0E9 Switch unselected focus icon color#E6E0E9 md.comp.switch.unselected.focus.icon.color
Color#E6E0E9 |
Track
| Token | Value |
|---|---|
Switch selected focus track colormd.comp.switch.selected.focus.track.color | #6750A4 Switch selected focus track color#6750A4 md.comp.switch.selected.focus.track.color
Color#6750A4 |
Switch selected focus state layer colormd.comp.switch.selected.focus.state-layer.color | #6750A4 Switch selected focus state layer color#6750A4 md.comp.switch.selected.focus.state-layer.color
Color#6750A4 |
Switch selected focus state layer opacitymd.comp.switch.selected.focus.state-layer.opacity | 10% Switch selected focus state layer opacity10% md.comp.switch.selected.focus.state-layer.opacity
10% |
Switch unselected focus track colormd.comp.switch.unselected.focus.track.color | #E6E0E9 Switch unselected focus track color#E6E0E9 md.comp.switch.unselected.focus.track.color
Color#E6E0E9 |
Switch unselected focus track outline colormd.comp.switch.unselected.focus.track.outline.color | #79747E Switch unselected focus track outline color#79747E md.comp.switch.unselected.focus.track.outline.color
Color#79747E |
Switch unselected focus state layer colormd.comp.switch.unselected.focus.state-layer.color | #1D1B20 Switch unselected focus state layer color#1D1B20 md.comp.switch.unselected.focus.state-layer.color
Color#1D1B20 |
Switch unselected focus state layer opacitymd.comp.switch.unselected.focus.state-layer.opacity | 10% Switch unselected focus state layer opacity10% md.comp.switch.unselected.focus.state-layer.opacity
10% |
Handle
| Token | Value |
|---|---|
Switch selected focus handle colormd.comp.switch.selected.focus.handle.color | #EADDFF Switch selected focus handle color#EADDFF md.comp.switch.selected.focus.handle.color
Color#EADDFF |
Switch unselected focus handle colormd.comp.switch.unselected.focus.handle.color | #49454F Switch unselected focus handle color#49454F md.comp.switch.unselected.focus.handle.color
Color#49454F |
Pressed (ripple)
Icon
| Token | Value |
|---|---|
Switch selected pressed icon colormd.comp.switch.selected.pressed.icon.color | #6750A4 Switch selected pressed icon color#6750A4 md.comp.switch.selected.pressed.icon.color
Color#6750A4 |
Switch unselected pressed icon colormd.comp.switch.unselected.pressed.icon.color | #E6E0E9 Switch unselected pressed icon color#E6E0E9 md.comp.switch.unselected.pressed.icon.color
Color#E6E0E9 |
Track
| Token | Value |
|---|---|
Switch selected pressed track colormd.comp.switch.selected.pressed.track.color | #6750A4 Switch selected pressed track color#6750A4 md.comp.switch.selected.pressed.track.color
Color#6750A4 |
Switch selected pressed state layer colormd.comp.switch.selected.pressed.state-layer.color | #6750A4 Switch selected pressed state layer color#6750A4 md.comp.switch.selected.pressed.state-layer.color
Color#6750A4 |
Switch selected pressed state layer opacitymd.comp.switch.selected.pressed.state-layer.opacity | 10% Switch selected pressed state layer opacity10% md.comp.switch.selected.pressed.state-layer.opacity
10% |
Switch unselected pressed track colormd.comp.switch.unselected.pressed.track.color | #E6E0E9 Switch unselected pressed track color#E6E0E9 md.comp.switch.unselected.pressed.track.color
Color#E6E0E9 |
Switch unselected pressed track outline colormd.comp.switch.unselected.pressed.track.outline.color | #79747E Switch unselected pressed track outline color#79747E md.comp.switch.unselected.pressed.track.outline.color
Color#79747E |
Switch unselected pressed state layer colormd.comp.switch.unselected.pressed.state-layer.color | #1D1B20 Switch unselected pressed state layer color#1D1B20 md.comp.switch.unselected.pressed.state-layer.color
Color#1D1B20 |
Switch unselected pressed state layer opacitymd.comp.switch.unselected.pressed.state-layer.opacity | 10% Switch unselected pressed state layer opacity10% md.comp.switch.unselected.pressed.state-layer.opacity
10% |
Handle
| Token | Value |
|---|---|
Switch selected pressed handle colormd.comp.switch.selected.pressed.handle.color | #EADDFF Switch selected pressed handle color#EADDFF md.comp.switch.selected.pressed.handle.color
Color#EADDFF |
Switch unselected pressed handle colormd.comp.switch.unselected.pressed.handle.color | #49454F Switch unselected pressed handle color#49454F md.comp.switch.unselected.pressed.handle.color
Color#49454F |