---
title: Page
description: >-
The page component provides a styled page layout within your app, including
breadcrumbs, page actions, and content areas with automatic spacing.
Use page when you need a complete page layout with Polaris styling. For apps
that need to set the Shopify admin's native title bar (title, breadcrumbs,
actions) without a styled page layout, use the [title
bar](/docs/api/app-home//app-bridge-web-components/title-bar) App Bridge
component instead.
api_name: app-home
source_url:
html: >-
https://shopify.dev/docs/api/app-home/web-components/layout-and-structure/page
md: >-
https://shopify.dev/docs/api/app-home/web-components/layout-and-structure/page.md
---
# Page
The page component provides a styled page layout within your app, including breadcrumbs, page actions, and content areas with automatic spacing.
Use page when you need a complete page layout with Polaris styling. For apps that need to set the Shopify admin's native title bar (title, breadcrumbs, actions) without a styled page layout, use the [title bar](https://shopify.dev/docs/api/app-home/app-bridge-web-components/title-bar) App Bridge component instead.
#### Use cases
* **App layouts:** Use as the main container for your app's primary interface with automatic spacing and preset layouts.
* **Resource management:** Create resource management pages with headings, primary actions, and secondary navigation.
* **Settings pages:** Build settings or configuration pages with structured content and aside panels.
* **Detail views:** Display resource detail pages with breadcrumb navigation and contextual actions.
## Properties
Configure the following properties on the page component.
* **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
The page component supports slots for additional content placement within the component. Learn more about [using slots](https://shopify.dev/docs/api/polaris/using-web-components#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**
The navigation back actions for the page.
Only accepts link components.
* **children**
**HTMLElement**
The main page content displayed within the page component, which serves as the primary container for the page's information and interface elements.
* **primary-action**
**HTMLElement**
The primary action for the page.
Only accepts a single button component with a `variant` of `primary`.
* **secondary-actions**
**HTMLElement**
The secondary actions for the page.
Only accepts button group and button components with a `variant` of `secondary` or `auto`.
Examples
### Examples
* #### Organize content with sections
##### Description
Create a consistent page structure with automatic spacing. This example combines a heading with organized content sections.
##### html
```html
Hello World
```
* #### Use small width for forms
##### Description
Create a focused layout for forms and simple workflows. This example uses the \`inlineSize="small"\` setting for narrower content.
##### html
```html
Configure your basic store preferences.Save
```
* #### Use large width for dashboards
##### Description
Display data-rich content like dashboards or analytics. This example uses the \`inlineSize="large"\` setting for wider layouts.
##### html
```html
Monitor your store performance across all channels.Sales$12,456Orders145
```
* #### Add breadcrumb navigation
##### Description
Help merchants understand where they are in your app. This example adds a breadcrumb link back to a parent page.
##### html
```html
ProductsAcme WidgetUpdate your product information and settings.
```
* #### Add page actions
##### Description
Provide quick access to common operations from the page header. This example adds primary and secondary action buttons.
##### html
```html
PreviewDuplicateSaveManage your products and organize your catalog.
```
* #### Edit page with all slots
##### Description
Combine all page features for complex editing workflows. This example integrates breadcrumbs, actions, form content, and an aside panel.
##### html
```html
ProductsSavePreviewDeleteStatus
```
## Best practices
* **Use breadcrumbs for navigation**: Include breadcrumbs when the page is part of a flow.
* **Scope header actions appropriately**: Include page actions in the header only if they are relevant to the entire page.
* **Limit action count**: Include no more than one primary action and three secondary actions per page.
* **Avoid bottom actions**: Don't include any actions at the bottom of the page.
## Limitations
* The `inlineSize` property only accepts `small`, `base` (default), or `large` values.
* Breadcrumb actions only support link and button components.
* The `aside` slot is only visible when `inlineSize` is set to `large`.