Components/Layout
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/marketinglayout
Marketing layout is a standardized card-like layout for encouraging users to take an action. It is quicker and easier to use than a customizable card.
<Card/>, which provides a white background.<Table/> instead.This component consists of title, description, actions and image container areas.
Marketing layout should be wrapped inside a <Card/>, which provides a white background.
Adjust the component's size using the size property. It supports three values:
tiny is used for promoting optional or ancillary features, or when multiple layouts are displayed in the same row.small is the default, and is used in all common cases.medium is for promoting core or mandatory releases. Use it in spacious layouts only.Change the image's position from right to left with the inverted property.
Add a background color to an image with imageBackgroundColor.
Emphasize new or top items with a customizable label in the top left corner using the badge property.
Note that adding a badge increases the marketing layout's height. To keep layouts that are displayed in a row aligned, you can use the hiddenBadge property to add extra height to other layouts.
Control how content is vertically aligned with the alignItems property. It supports two values:
center (default) centers the content vertically.stretch vertically stretches content to match the height of the image.Display multiple marketing layouts in the same row to promote multiple features at the same time.
Append a footnote containing notes or conditions by adding a divider and a box to the same card the <MarketingLayout/> is wrapped in.
| Name | Type | Default | Description |
|---|---|---|---|
actions | ReactNode | — | Sets marketing layout actions. Accepts single or multiple interactive components. Most commonly contain <Button/> or <TextButton/>. |
alignItems | "center" | "stretch" | 'center' | Controls the vertical alignment of the content. |
badge | ReactNode | — | Adds a container for a <Badge/> component at the top left corner. Affect component height. |
dataHook | string | — | Applies a data-hook HTML attribute that can be used in the tests. |
description | ReactNode | — | Sets the marketing layout description. Accepts text string or a custom element. |
direction | "horizontal" | "vertical" | 'horizontal' | Controls content direction. Ignored when mobile is enabled on <WixDesignSystemProvider/> — the layout then always stacks vertically with the image above the content. |
hiddenBadge | boolean | false | Specifies whether the badge is hidden. Can be used to add additional vertical spacing, if no badge is given. |
image | ReactNode | — | Accepts image URL or a custom element to be displayed on the side of content. |
imageBackgroundColor | string | — | Specifies image area background color. Can be a keyword from color palette or any supported CSS color value (HEX, RGB, etc.). |
imagePadding | boolean | true | Enables padding inside image container. Use with direction="horizontal" layout only. |
inverted | boolean | false | Flips content layout. If true, the image is displayed on the left side of the content. Ignored when mobile is enabled on <WixDesignSystemProvider/> — the layout then always stacks with the image above the content regardless of this prop. |
size | "small" | "tiny" | "medium" | 'small' | Controls the size of the marketing layout. |
title | ReactNode | — | Sets the marketing layout title. Accepts text string or a custom element. |
No testkit for this component — it doesn't expose a unidriver testkit.
imagePadding={false} so it can no longer render full-bleed, and a URL image stays inside the card when a badge or long content makes the card taller. (#16842) — has visual changesmarketing-layout.description-max-width token. In the odeditor theme it is capped at 80% of the text container; other themes are unchanged. (#16772) — has visual changesLast updated: 21 October 2026