--- title: Page description: ' Use `s-page` as the main container for placing content in your app. Page comes with preset layouts and automatically adds spacing between elements.' api_name: app-home source_url: html: 'https://shopify.dev/docs/api/app-home/polaris-web-components/structure/page' md: >- https://shopify.dev/docs/api/app-home/polaris-web-components/structure/page.md --- # Page Use `s-page` as the main container for placing content in your app. Page comes with preset layouts and automatically adds spacing between elements. ## Properties Use as the outer wrapper of a page * heading string The main page heading * inlineSize "small" | "base" | "large" Default: 'base' The inline size of the page * `base` corresponds to a set default inline size * `large` full width with whitespace ## Slots * aside HTMLElement The content to display in the aside section of the page. This slot is only rendered when `inlineSize` is "base". * breadcrumb-actions HTMLElement Navigations back actions for the page. Only accepts `Link` components. * children HTMLElement The content of the Page. * primary-action HTMLElement The primary action for the page. Only accepts a single `Button` component with a `variant` of `primary`. * secondary-actions HTMLElement Secondary actions for the page. Only accepts `ButtonGroup` and `Button` components with a `variant` of `secondary` or `auto`. ### Examples * #### ##### jsx ```jsx Hello World ``` ##### html ```html Hello World ``` ## Examples Component examples ### Basic usage Page with heading Shows a page with a clear heading and descriptive text, illustrating how to use the page component with a title. Small inline size for focused content Illustrates a page with a small inline size, ideal for focused, compact content like settings or forms with minimal information. Large inline size for wide content Demonstrates a page with a large inline size, perfect for displaying broader content like analytics or dashboards with multiple information sections. ### Examples * #### Page with heading ##### Description Shows a page with a clear heading and descriptive text, illustrating how to use the page component with a title. ##### jsx ```jsx Manage your product catalog and inventory. ``` ##### html ```html Manage your product catalog and inventory. ``` * #### Small inline size for focused content ##### Description Illustrates a page with a small inline size, ideal for focused, compact content like settings or forms with minimal information. ##### jsx ```jsx Configure your basic store preferences. Save ``` ##### html ```html Configure your basic store preferences. Save ``` * #### Large inline size for wide content ##### Description Demonstrates a page with a large inline size, perfect for displaying broader content like analytics or dashboards with multiple information sections. ##### jsx ```jsx Monitor your store performance across all channels. Sales $12,456 Orders 145 ``` ##### html ```html Monitor your store performance across all channels. Sales $12,456 Orders 145 ```