Page
Serves as the main container for app content with preset layouts and heading controls. Use to structure full-screen views with consistent navigation and content organization.
Anchor to propertiesProperties
- Anchor to headingheadingstringDefault: : ''
The main page heading, displayed in the action bar at the top of the page.
- string
A unique identifier for the element.
- Anchor to subheadingsubheadingstring
A secondary page heading, displayed under the main heading in the action bar.
Was this section helpful?
Anchor to slotsSlots
- Anchor to asideasideHTMLElement
Content to display in the page's sidebar.
- Anchor to secondary-actionssecondary-actionsHTMLElement
Button element to display in the action bar. Only a single button is supported.
Was this section helpful?
Code
<s-page heading="Title">
<s-button slot="secondary-actions">
Action
</s-button>
</s-page>
Examples
Code
Default
<s-page heading="Title"> <s-button slot="secondary-actions"> Action </s-button> </s-page>
Preview
