Calm motion: animations on this site only fade, with no movement
Pricing table
Plans side by side, with a monthly or yearly switch
Shows the plans of a product next to each other, so a person can compare the prices and features and pick one. For a list of features in rows across plans, use the table.
Basic
Save 17%
Hobby
Try it with one show
Free
- 1 show
- 2 hours of audio a month
- Basic stats
- Most popular
Pro
For a weekly show
$12/ month
- 5 shows
- Unlimited audio
- Full stats
- Your own domain
Team
For a network of shows
$30/ month
- Unlimited shows
- 5 seats
- Roles and approvals
- Priority help
plansis a list of{ id, name, description, price, features, featured, cta }.pricehas amonthlyand ayearlyamount. A price of 0 shows "Free".- The switch at the top changes
v-model:periodbetweenmonthlyandyearly. Next to it, "Save 17%" shows the best saving of a year over twelve months, from all the plans. featuredputs a border in the accent color and a badge on one plan, and gives it a filled button. The other plans get an outline button.- The button emits
selectwith the plan and the period.ctasets the text of the button on one plan, for example "Talk to us". - The prices use
Intl.NumberFormat:currencyis an ISO 4217 code (defaultUSD), andlocalesets the format (defaulten). - The plans wrap to more rows on a small screen. Each plan is an item in a list, so screen readers say how many plans there are.
- Change the words with
labelsor a label pack:period,monthly,yearly,perMonth,perYear,free,featured,choose, andsave(a function of the percent).
Usage
ts
import { BlessPricingTable, type BlessPricingPeriod, type BlessPricingPlan } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
plans* | BlessPricingPlan[] | — | |
currency | string | "USD" | an ISO 4217 code, for example `USD` or `IDR` |
locale | string | "en" | |
labels | Partial<{ period: string; monthly: string; yearly: string; perMonth: string; perYear: string; free: string; featured: string; choose: string; save: (pct: number) => string; }> | — | |
period | BlessPricingPeriod | "monthly" |
Events
| Name | Payload | Description |
|---|---|---|
select | [plan: BlessPricingPlan, period: BlessPricingPeriod] | |
update:period | [value: BlessPricingPeriod] |