Pricing page
Plans and what they cost: the plans side by side with the featured one lifted, the comparison as a table, what a credit buys, the questions people ask.
- Domain
- Commerce
- Support level
- Size
- 1.5 kB gzip, budget 1.5 kB
- Who uses it
- 2 files of the live products and sites import it (Verikora: 1, Sovkora: 1) Counted in the dated inventory of 2026-11-23.
import { PricingPage } from "@krizaka/ui/pricing-page";Web only — React, from @krizaka/ui/pricing-page. Beta: its API may still change in a minor version.
- Mobile · n/a. A whole page of a public site; a phone app's screens are built from Screen, Header and the native primitives.
- Desktop · n/a. A public site's page, not a window of the Mac app.
Why it is here. krizaka.com migrating its pages to the specialised template (TPL): /pricing of the products.
When to use
- Pricing, credits, plans.
- Any choice between offers.
When not to use
- For the credits left inside an app.Use instead: Meter
- For a product's overview.
Installation
Install
npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcssStyles
@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";Import
import { PricingPage } from "@krizaka/ui/pricing-page";Examples
Sovkora plans and credits
Three plans, the comparison, credits and two questions.
Props
A pricing page: plans (the featured one lifted), the comparison, credits, the questions.
| Prop | Type | Default | Description |
|---|---|---|---|
plansrequired | readonly PricingPlan[] | — | The plans. |
plansLabelrequired | string | — | The plans' accessible name (Plans). |
titlerequired | ReactNode | — | The page's h1. |
brand | string | — | The brand the page wears (.brand-<id>). |
compare | { caption: ReactNode; columns: readonly ReactNode[]; rows: readonly { feature: ReactNode; cells: readonly ReactNode[]; }[]; } | — | The comparison: its caption, columns (the plans' names) and rows (a feature and a cell per plan). |
credits | { title: ReactNode; children: ReactNode; } | — | What a credit buys, the credits left: a Meter, a sentence. |
eyebrow | ReactNode | — | A mono line above the title. |
faq | { title: ReactNode; items: readonly { question: ReactNode; answer: ReactNode; }[]; } | — | The questions, folded. |
lead | ReactNode | — | One sentence under it. |
toolbar | ReactNode | — | Above the plans: a period switch (monthly · yearly), a currency. |
Accessibility
- The plans are a named list; the comparison a table with a caption and header cells.
- Questions are native disclosures.
Best practices
- Three plans at most; the featured one says why (
Most chosen). - Say what a credit buys in units people know.
- Words and content arrive as props; the motion is the platform's (
[data-reveal], still under reduced motion).
Related components
Generated from the code of @krizaka/ui 5.3.4: its meta.ts, its examples and its types.Edit this documentation on GitHub