Skip to main content

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.

string
Default: : ''

The main page heading, displayed in the action bar at the top of the page.

string

A unique identifier for the element.

string

A secondary page heading, displayed under the main heading in the action bar.

Was this section helpful?

HTMLElement

Content to display in the page's sidebar.

HTMLElement

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>

Preview