The fundamental building block.
Only display prop is unique to the Box component.
The following props are shared between Box, Container, Flex, Grid, and Section layout components.
This component is based on the div element and also supports common margin props m, mx, my, ml, mr, mt, mb. View source
Use the display prop to specify the layout behaviour. You can change it across breakpoints using the object syntax.
Use the position, inset, top, bottom, left, and right props to create positioned elements. You can also change these values across breakpoints using the object syntax.
"1", "2", "3", … , encouraging the separation of layout concerns. Use margin and padding props to achieve a similar result.
Use the width and height props to specify the Box size.
"1", "2", "3", … , correspond to the space scale steps.
Use the shrink and grow props to control the size of elements in a flex container.