Skip to Content

Text banner

Audience: CMS editors and developers.

Type: TextblockBanner.

This banner shows Markdown text in one block.

Includes the common banner props (typename, title, titleTag, titleAlign, cssId, cssClasses).

Textblock preview

Properties

id●
string
required

CMS ID.

markdown●
string[]
required

Array of markdown fragments rendered in order. Each entry is rendered as markdown.

fullwidth●
boolean
required

If true, the renderer uses the full width without a maximum-width container.

Example

const banner: TextblockBanner = { typename: BannerTypename.Textblock, id: 'b_123', title: 'Delivery & Returns', titleTag: 'h2', titleAlign: 'left', cssId: null, cssClasses: null, markdown: ['**Free shipping** on orders above 50 €.', 'Second paragraph...'], fullwidth: false };
Last updated on