Components/Overlays/FullScreenModalLayout
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/fullscreenmodallayout
FullScreenModalLayout is a mobile first layout used for push screens and full screen modals inside native looking flows.
It takes over the whole viewport, with an optional header, scrollable content, and an optional sticky footer.
<FullScreenModalLayout.Header/> for page level actions like back, close, save, done.<FullScreenModalLayout.Footer/> for primary actions that should always stay visible (for example "Save", "Continue").<CustomModalLayout/>, <AnnouncementModalLayout/>, <MessageModalLayout/> insteadFullScreenModalLayout is built from three components:
FullScreenModalLayout.HeaderFullScreenModalLayout.ContentFullScreenModalLayout.FooterControl FullScreenModalLayout animation styles using Modal transition property:
zoomIn (default) - the modal appears from the middle of the screen
moveVertical - the modal slides in from the bottommoveHorizontal - the modal slides in from the right side of the screenIt is recommended to use FullScreenModalLayout.Footer for modals that are longer. This way the main actions are always visible to users
You can use FullScreenModalLayout as push screens
| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Renders modal content. |
dataHook | string | — | Applies a data-hook HTML attribute to be used in the tests. |
style | CSSProperties | — |
Import the driver matching your test environment:
| Method | Description |
|---|---|
getHeaderText | Gets the header text |
getContentText | Gets the content text |
getFooterText | Gets the footer text |
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. |
Last updated: 30 October 2026