Adaptive Switch

Adaptiveness

  • Android & iOS: native styling

Variations

API

MUI Switch API with the following changes:

  • slotProps.thumb.children defaults to thumbIcon/thumbIconChecked
  • iOS: disableRipple defaults to true
  • Android: disableTouchRipple defaults to true

thumbIcon

Icon displayed inside the thumb when not checked

  • Type: ReactNode
  • Default: undefined

thumbIconChecked

Icon displayed inside the thumb when checked

  • Type: ReactNode
  • Default: undefined