--- title: Box description: |- The Box component is a foundational layout primitive that controls padding, sizing, and visibility of its children. Use Box to add spacing around content, constrain dimensions, or toggle visibility without introducing stacking or alignment behavior. For arranging multiple children in a vertical or horizontal flow, use [BlockStack](/docs/api/admin-extensions/latest/ui-components/layout-and-structure/blockstack) or [InlineStack](/docs/api/admin-extensions/latest/ui-components/layout-and-structure/inlinestack). For semantic grouping with a heading, use [Section](/docs/api/admin-extensions/latest/ui-components/layout-and-structure/section). api_version: 2026-01 api_name: admin-extensions source_url: html: https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/layout-and-structure/box md: https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/layout-and-structure/box.md --- Box Not supported in this version.