Skip to content

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.
  • Box props are named following the convention of CSS logical properties, such as padding-inline-start and padding-block-start. Learn more about CSS logicial properties.

Released under the MIT License.