Skip to content

Banner Component

The banner component

Properties

NameTypeDefaultDescription
headingstringundefinedThe heading text to display in the banner.
descriptionstringundefinedThe description text to display in the banner.
imagestringundefinedThe URL of the background image to display in the banner.
variant'default' | 'hero'undefinedThe variant style of the banner.
background-colorstringundefinedThe background color of the banner.
text-colorstringundefinedThe text color of the banner.

Slots

NameDescription
defaultThe default slot to render extra elements when variant is hero.
actionThe slot for action element.