Banners
TextblockBanner

TextblockBanner

Markdown text content rendered as a block.

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

Props

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 usse a full-width layout (no max-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
};