Page
The ui5-page
is a container component that holds one whole screen of an application.
The page has three distinct areas that can hold content - a header, content area and a footer.
Structureβ
Headerβ
The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.
Contentβ
The content occupies the main part of the page. Only the content area is scrollable by default.
This can be prevented by setting enableScrolling
to false
.
Footerβ
The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.
This is enabled with the floatingFooter
property.
Note: ui5-page
occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
that there is enough space for the ui5-page
to be rendered.
Note: In order for the ui5-page
to be displayed, the parent element should have fixed height.
ES6 Module Importβ
import "@ui5/webcomponents-fiori/dist/Page.js";
Basic Sampleβ
Propertiesβ
backgroundDesignβ
disableScrollingβ
floatingFooterβ
hideFooterβ
Slotsβ
headerβ
defaultβ
footerβ
Eventsβ
No events available for this component.
Methodsβ
No methods available for this component.
CSS Partsβ
More Samplesβ
Floating Footerβ
When floatingFooter property is set, the footer is always visible.