Components
BasePlanCard
The pricing card shared by the app’s pricing page and the landing pricing block.
components/ui/BasePlanCard.vue
View in the demo
Plans
Free
To try it with a small team.
$0/ month
Unlimited projects
Roles and permissions
Pro
Most popular
For teams that work in it every day.
$29/ month
Unlimited projects
Roles and permissions
Export to CSV
Enterprise
For large organizations.
Custom
Unlimited projects
Roles and permissions
Export to CSV
Priority support
States
current marks the user’s plan, compare-at-price shows the old price struck through, note and detail add context, and dimmed fades a plan that does not fit.
Pro
Current plan
$29$24/ month
You save $60 a year
Everything in Free, plus:
Unlimited projects
Roles and permissions
Pro
$29/ month
5 people: $120 a month Billed yearly: $1,440
Unlimited projects
Roles and permissions
Free
$0
Covers 3 of your 5 people
Unlimited projects
API
Props
Name | Type | Default | Description |
|---|---|---|---|
namerequired | string | — | The plan name. |
pricerequired | string | — | The formatted price. |
compare-at-price | string | — | A previous price, struck through. |
period | string | — | Text after the price, such as “/month”. |
badge | string | — | A chip on the card, such as “Popular” or “Current”. |
note | string | — | A short line under the price, such as the yearly savings. |
note-tone | BasePlanCardNoteTone | "neutral" | neutral (default), primary, warning or success. |
detail | string | — | A smaller line of detail. |
description | string | — | Who the plan is for. |
reserve-description | boolean | false | Keeps the space of the description so cards in a row align. |
features | string[] | [] | The list of features. |
features-intro | string | — | A line above the features, such as “Everything in Free, plus:”. |
highlighted | boolean | false | Emphasises the recommended plan. |
highlight-theme | string | "brand" | The Vuetify theme of the highlighted card. Defaults to brand; LandingPricing passes the landing brand theme. |
current | boolean | false | Marks the current plan with a primary outline. |
dimmed | boolean | false | Fades the plan. |
title-tag | string | "h3" | The heading element. |
Slots
Name | Slot props | Description |
|---|---|---|
#action | { highlighted: boolean; } | The button; receives highlighted. |
Keep one pricing card design: on landings put a LandingActionButton in #action, in the app a BaseButton with a handler.