Skip to Content

Tile banner

Audience: CMS editors and developers.

Type: TileCardBanner.

This banner shows one tile with an image, text, and one or two actions.

This banner includes the common banner props.

Tile card preview

Properties

id●
string
required

CMS ID.

buttons●required

Required group with one or two link or contactForm actions.

description●
Maybe<string>

Optional descriptive text.

image●required

Tile image.

fullsize●
boolean
required

If true, the renderer increases the tile size and width.

Example

const banner: TileCardBanner = { typename: BannerTypename.TileCard, id: 'b_123', title: 'Service', titleTag: 'h2', titleAlign: 'left', cssId: null, cssClasses: null, buttons: { items: [ { id: 'offers', action: 'link', text: 'View offers', style: 'primary', theme: null, url: { label: 'View offers', isAbsolute: false, url: '/offers', query: [], }, contactForm: null, }, ], align: 'left', width: 'intrinsic', overflow: 'wrap', }, description: 'Short teaser...', image: { id: 'img1', name: 'Service', imageRights: null, file: { /* ... */ } as any, mobileFile: null, alt: 'Service', breakpoint: null, cars: [], }, fullsize: false, };
Last updated on