Box
Box is the most primitive layout component. It’s a way to access Polaris design tokens.
Props
Some types of props are following the Polaris Design Tokens.
No props found for this component, run `yarn gen:docs` to generate component meta first.
Slots
No slots found for this component, run `yarn gen:docs` to generate component meta first.
Related components
- For more specific use cases, use the Card component
Related resources
- Box props are named following the convention of CSS logical properties, such as
padding-inline-start
andpadding-block-start
. Learn more about CSS logicial properties.