Pricing, comparison
betaPlans head a table of features by group, a tick, a dash or a short value per plan; the highlighted plan is tinted down its column.
Compare plans
Every plan sends unlimited invoices. The difference is people, automation and support.
| Feature | |||
|---|---|---|---|
| Invoicing | |||
| Invoices and quotes | Unlimited | Unlimited | Unlimited |
| Recurring invoices | Not included | Included | Included |
| Your logo and colours | Included | Included | Included |
| Client portal | Not included | Not included | Included |
| Payments | |||
| Card and bank transfer | Included | Included | Included |
| Mobile money | Not included | Included | Included |
| Reminders | 2 emails | Custom | Custom |
| Team and support | |||
| People | 1 | Up to 5 | Unlimited |
| Accounting exports | Not included | Included | Included |
| Support | Email and chat | Priority | |
Prices exclude taxes. Every paid plan starts with 14 free days.
- Use it
- Two to four plans that differ on many features, under pricing-plans or on a pricing page of its own.
- Avoid it
- Plans that differ on three things: pricing-plans says it with their feature lists.
- Pairs with
- Pricing, plansFAQ, accordion
Installation
It installs into components/blocks/pricing-comparison/, with what it uses (Badge, Button, Table) and lib/blocks.ts.
Usage
Without content, the block shows its example. Pass your own, typed by the block's schema, from a content file (here, the example with one field changed):
Each row gives one value per plan, in the plans' order: true (a tick), false (a dash) or a short text ("Up to 5"). The schema refuses a row with too few or too many. The highlighted plan is tinted down its column. In a narrow container the table scrolls sideways, the feature column staying in place.
Content
| Field | Type | Limits | Guidance |
|---|---|---|---|
title | string | 8–70 chars | 'Compare plans'. |
sublineoptional | string | ≤ 180 chars | |
plans | object[] | 2–4 items | The columns, cheapest first. |
plans[].name | string | 1–24 chars | |
plans[].price | object | ||
plans[].price.amount | number | ≥ 0 | |
plans[].price.currency | string | 3–3 chars | An ISO 4217 code: 'EUR', 'USD', 'XAF'. |
plans[].periodoptional | "month" | "year" | "once" | default "month" | |
plans[].descriptionoptional | string | ≤ 80 chars | |
plans[].cta | object | ||
plans[].cta.label | string | 1–32 chars | A verb first, two to four words: 'Start free', 'Book a table'. |
plans[].cta.href | string | A path ('/pricing'), an anchor ('#menu'), or a full URL. | |
plans[].highlightedoptional | boolean | default false | At most one. |
groups | object[] | 1–6 items | |
groups[].name | string | 2–32 chars | 'Invoicing', 'Payments', 'Support'. |
groups[].rows | object[] | 1–12 items | |
groups[].rows[].label | string | 2–60 chars | |
groups[].rows[].values | unknown[] | 2–4 items | One per plan, in the plans' order. |
highlightLabel | string | 1–24 chars | The badge on the highlighted plan: 'Most popular'. |
periods | object | After a price: '/ month'. | |
periods.month | string | ≤ 16 chars | |
periods.year | string | ≤ 16 chars | |
periods.once | string | ≤ 16 chars | |
labels | object | Words read by screen readers where the table shows signs. | |
labels.feature | string | 1–24 chars | Heads the first column, for screen readers: 'Feature'. |
labels.included | string | 1–24 chars | Read for a tick: 'Included'. |
labels.notIncluded | string | 1–24 chars | Read for a dash: 'Not included'. |
localeoptional | string | A BCP 47 locale for prices ('en-US'); the page's language when left out. | |
noteoptional | string | ≤ 140 chars |
Props
| Prop | Notes |
|---|---|
content | PricingComparisonContent; the example when left out |
id | the section's id, for anchor links; "compare" by default |
headingLevel | 1, 2 or 3: the heading's tag; 2 by default |
className | on the <section>, for spacing |
Accessibility
- A real table: plans are column headers, features row headers, groups
colgroupheaders. - Ticks and dashes are read as
labels.includedandlabels.notIncluded.