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.
The top-level styleOverrides object maps breakpoints to their style override configurations.
Style overrides for the default breakpoint. These cascade to all other breakpoints.
Style overrides specifically for the small (mobile) breakpoint.
The following overrides background color with state-specific hover values at the default breakpoint, and adjusts font size for mobile.
Last updated: 2 November 2026