Styles

Component Styles

Component styles can be customized using the standard Material UI methods but targeting the Adaptive components.

Single Component

The following is a example of styling a single AdaptiveSwitch component, there are similar examples in the MUI documentation for many components, like Switch Customization.

Theme

The following is a example of styling all AdaptiveSwitch components using a theme, see Themed Components for more info.

Device Specific Styles

Components with device specific styles can be customized using the related classes prop, the class name, or a theme style override as shown below.

Classes Prop

Class Name

Theme