Skip to main content

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.

string

The main page heading

string

The text to be used as subtitle.

Was this section helpful?

HTMLElement
HTMLElement
Was this section helpful?

Code

<s-page heading="Title">
<s-button slot="secondary-actions" onClick={onActionClick}>
Label
</s-button>
<s-heading>Title</s-heading>
</s-page>

Preview