MarketingPageLayoutContent

Components/Layout/MarketingPage/MarketingPageLayoutContent

Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/marketingpagelayoutcontent

Overview

Copy

Marketing page layout content is an internal component used to display content of <MarketingPageLayout/>.

Do

  • Use it as a building part of <MarketingPage/>.
  • Use it to layout promotional content inside of a page.

Don't

  • Don't use this component alone. Always use it within <MarketingPage/>.
  • Don't use it to layout promotional content inside of <Card/>. Use <MarketingLayout/> instead.

Feature examples

Structure

The component consists of `outline`, `title`, `subtitle`, `content` and `actions` areas. Each area is optional and highly customizable.

Copy

Size

Adjust the size of the content with `size` prop. It supports two sizes:
 - `large` (default) - use it in larger screens sizes.
 - `medium` - use it in smaller screen sizes.

Read more about screen sizes in <MarketingPageLayout/>.

Copy

Common use case examples

Bulleted list

This component is highly customizable and supports complex layouts. This example shows how to add a bulleted list to the content area and a footnote to the actions area.

Copy

Marketing page

<MarketingPageLayoutContent/> should be used as a building part of a marketing page.

Copy

Code

Copy

Props

NameTypeDefaultDescription
actionsReactNode—Adds a container for page actions. Accepts single or multiple components. Most commonly contains <Button/> and <TextButton/>.
contentReactNode—Sets the main content. Accepts a text paragraph or any custom elements.
dataHookstring—Applies a data-hook HTML attribute that can be used in tests.
overlineReactNode—Set overline content. Accepts text string or a custom element.
size"medium" | "large"—Controls the size of the marketing page layout content.
subtitleReactNode—Set pages layout subtitle. Accepts text string or a custom element.
titleReactNode—Set the page layout title. Accepts text string or a custom element.

Testkit

Import the driver matching your test environment:

Copy

Driver methods

MethodDescription
hasOverlineChecks whether overline exists
getOverlineTextGets the overline text
hasTitleChecks whether title exists
getTitleTextGets the title text
hasSubtitleChecks whether subtitle exists
getSubtitleTextGets the subtitle text
hasContentChecks whether content exists
getContentTextGets the content text
hasActionsChecks whether actions exist
childExistsChecks whether a node with the provided predicate exists
existsChecks whether the component found with the given data hook.
elementGets the component root element.
clickClicks on the component root element.
baseReturns UniDriver for the base element.

Changelog

  • 1.339.0 (2026-10-19) — maintenance release, no component-specific changes
  • 1.338.0 (2026-10-15) — maintenance release, no component-specific changes
  • 1.326.0 (2026-09-17) — maintenance release, no component-specific changes
  • 1.325.0 (2026-09-17) — maintenance release, no component-specific changes
  • 1.312.0 (2026-08-14) — maintenance release, no component-specific changes
  • 1.310.0 (2026-08-10) — maintenance release, no component-specific changes
  • 1.292.0 (2026-06-22) — maintenance release, no component-specific changes
  • 1.291.0 (2026-06-19) — maintenance release, no component-specific changes
  • 1.288.0 (2026-06-15) — maintenance release, no component-specific changes
  • 1.266.0 (2026-04-07) — maintenance release, no component-specific changes
  • 1.260.0 (2026-03-17) — maintenance release, no component-specific changes
  • 1.258.0 (2026-02-23) — maintenance release, no component-specific changes
  • 1.247.2 (2026-01-21) — maintenance release, no component-specific changes
  • 1.138.1 (2024-10-30) — maintenance release, no component-specific changes
  • 1.102.0 (2024-04-16) — maintenance release, no component-specific changes
  • 1.93.0 (2024-02-08) — maintenance release, no component-specific changes
  • 1.92.1 (2024-02-05) — maintenance release, no component-specific changes

Last updated: 21 October 2026

Did this help?