Components
BaseBannerCard
A highlighted card with a message, up to two actions and an illustration.
components/ui/BaseBannerCard.vue
View in the demo
Example
Your monthly report is ready
Review the numbers or download the full PDF.
Your monthly report is ready
Review the numbers or download the full PDF.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
titlerequired | string | — | The headline. |
description | string | — | A sentence under the headline. |
primary-action | BaseBannerCardActionProps | — | { label, icon?, type?, onClick? } for the main button. |
secondary-action | BaseBannerCardActionProps | — | The same shape for a second button. |
image | string | — | An illustration on the side. It hides on small screens. |
Slots
Name | Slot props | Description |
|---|---|---|
#actions | — | Replaces both buttons. |