Responsive Breakpoints
Material UI uses a mobile-first responsive design system with five default breakpoints.Default Breakpoints
Material UI provides five breakpoints:Breakpoint Helpers
The theme provides helper functions to generate media queries:up()
Matches screen widths greater than or equal to the breakpoint:down()
Matches screen widths less than the breakpoint:between()
Matches screen widths between two breakpoints:only()
Matches screen widths for a single breakpoint:not()
Matches screen widths outside the breakpoint range:Customizing Breakpoints
Change Breakpoint Values
Add Custom Breakpoints
Remove Default Breakpoints
Using Breakpoints in Components
sx Prop
styled API
useMediaQuery Hook
Grid Breakpoints
Hidden Component (Deprecated)
Usesx prop instead:
Breakpoint Step
Thestep option controls the precision of down() and between():
Breakpoint Unit
Change the unit used for breakpoints:Server-Side Rendering
Specify initial width for SSR:Accessing Breakpoints
Common Patterns
Responsive Typography
Responsive Padding
Responsive Layout
Source Reference
The breakpoints implementation can be found at:packages/mui-system/src/createBreakpoints/createBreakpoints.js:15- Default values:
packages/mui-system/src/createBreakpoints/createBreakpoints.js:19 - Type definitions:
packages/mui-system/src/createBreakpoints/createBreakpoints.d.ts:13 - Helper functions:
packages/mui-system/src/createBreakpoints/createBreakpoints.js:34