Banner Component
The banner component
Properties
Name | Type | Default | Description |
---|---|---|---|
heading | string | undefined | The heading text to display in the banner. |
description | string | undefined | The description text to display in the banner. |
image | string | undefined | The URL of the background image to display in the banner. |
variant | 'default' | 'hero' | undefined | The variant style of the banner. |
background-color | string | undefined | The background color of the banner. |
text-color | string | undefined | The text color of the banner. |
Slots
Name | Description |
---|---|
default | The default slot to render extra elements when variant is hero . |
action | The slot for action element. |