Breakpoints
A set of breakpoint presets are available to build responsive interfaces. Using Chakra's Responsive Styles feature, it's possible to generate media queries automatically by simply passing a responsive value to any prop that supports responsive styles.
Name | Alias | Value |
---|---|---|
base | — | |
width100 | 320px | |
width200 | mobile | 375px |
width250 | 480px | |
width275 | 600px | |
width300 | tablet | 834px |
width350 | 992px | |
width400 | desktop | 1152px |
width500 | 1440px |
Responsive Props
All style props are responsive by default.
Object Style
Array Style
Interstitial breakpoints must be filled with null
.
It does allow you to do something silly like this if you need to, though...
Responsive Presets
The size
and variant
theme presets support responsive values as well. If you
need to make something like colorScheme
responsive, you'll need to use
useBreakpointValue
.