Components
BasePromoCard
A compact upgrade card with a message and one call to action, as in the sidebar.
components/ui/BasePromoCard.vue
View in the demo
Example
Upgrade to Pro
Get 1 month free and unlock all pro features
API
Props
Name | Type | Default | Description |
|---|---|---|---|
titlerequired | string | — | The headline. |
description | string | — | A sentence under it. |
action-text | string | — | The button text. |
to | string | — | Where the button goes. Without it, listen to @action. |
Events
Name | Payload | Description |
|---|---|---|
@action | — | The button was pressed. |