Components/Layout/Page
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/page-section
Page section is a standalone element that divides content of a page into multiple sections.
Component consists of a title area and actions bar (optional). Actions bar can contain any number of actions.
Use subtitle to provide more context about section content.
Use divider to visually merge elements into one entity when section content is built using grid layout.
Both title and subtitle are limited to a single line of text. Longer values will be truncated and displayed in a tooltip on a hover.
Use <PageSection/> to group elements into sections inside of a page
| Name | Type | Default | Description |
|---|---|---|---|
actionsBar | ReactNode | — | A placeholder for a component that can contain actions. |
dataHook | string | — | Applied as data-hook HTML attribute that can be used in the tests. |
showDivider | boolean | — | Renders a divider. |
subtitle | ReactNode | — | The subtitle content. |
title | ReactNode | — | The main title content. |
Import the driver matching your test environment:
| Method | Description |
|---|---|
getTitleText | Gets PageSection title text |
isTitleExists | Checks whether the PageSection title exists |
getSubtitleText | Gets PageSection subtitle text |
isSubtitleExists | Checks whether the PageSection subtitle exists |
isActionsBarExists | Checks whether the PageHeader action bar exists |
exists | Checks whether the component found with the given data hook. |
element | Gets the component root element. |
click | Clicks on the component root element. |
base | Returns UniDriver for the base element. |
No released changes have been recorded for this component.
Last updated: 19 October 2026