CMS
Banners
StatementRowBanner

StatementRowBanner

The StatementRowBanner consists of one row with one to many columns. Those columns can have an icon, a title and a description. But the icon accepts any image url, yet it's recommended to use an icon as image, since it won't be displayed that big.

⚠️
A StatementRowBanner with zero items would result in empty space; therefore, at least one item must be added for the statement row to be valid.

Structure examples

Take a look at the default example, to further understand the design of a StatementRowBanner.


Statement row banner example.

Create

POST _apiBaseUrl/v1/cms/banner/statement-row

Code

CreateStatementRowDto
{
   "textItems":[
      {
         "requiredDisplayTitle":{
            "content":"Title",
            "size":"lg",
            "weight":"semibold",
            "classification":"sans"
         },
         "displayDescription":{
            "content":"Desc",
            "size":"sm",
            "weight":"light",
            "classification":"sans"
         },
         "icon":{
            "url":"https://my-image-url.png",
            "altText":"alt text"
         }
      },
      {...},
      {...}
   ]
}

Arguments

textItemsrequired

A list of all statement row items, that are displayed in the one row of the statement banner, each as one column.

StatementRowItemDto
requiredDisplayTitlerequired

A required title, that is displayed at the top inside the item.

displayDescription
null

An optional description, that is displayed below the title of the item.

iconrequired

A required small icon/image that is displayed in the column next to the title and description.