Custom Switch

A switch has the markup of a custom checkbox but uses the .form-switch class to render a toggle switch.

Icons Switch

Use the .switch-state and icon-state through defined icons switches.

Unchecked Switch

Use the .bg-* class through created default switches.

Borders with Icons

Use the .switch-outline and .icon-state class through created outline and icons.

Disabled Outline Switch

Use the .switch-outline class through created outline.

Variation of Switches

Use the .tgl-skewed/tgl-flip class through created variations.

  • Skewed

  • Flip

  • Checked

  • Flat

Switch Sizing

Use the .switch-sm and .switch-lg class through defined switch sizing.

Switch with Icons

Use the .icon-state class through visible icons in switches.