Style Overrides

The styleOverrides configuration within a preset item defines per-preset style values that vary across breakpoints, with optional state support. Use styleOverrides to override CSS property values for the root element and inner elements at different breakpoints.

Breakpoint preset style overrides

The top-level styleOverrides object maps breakpoints to their style override configurations.

defaultPresetStyleOverrides

Style overrides for the default breakpoint. These cascade to all other breakpoints.


smallPresetStyleOverrides

Style overrides specifically for the small (mobile) breakpoint.

Examples

The following overrides background color with state-specific hover values at the default breakpoint, and adjusts font size for mobile.

Copy

See also

Last updated: 2 November 2026

Did this help?