Krizaka UI
Krizaka UI

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.

Web · ✓Mobile · n/aDesktop · n/aBetaTemplates
Domain
Commerce
Support level
Beta
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 tailwindcss

Styles

@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.

PropTypeDefaultDescription
plansrequiredreadonly PricingPlan[]—The plans.
plansLabelrequiredstring—The plans' accessible name (Plans).
titlerequiredReactNode—The page's h1.
brandstring—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.
eyebrowReactNode—A mono line above the title.
faq{ title: ReactNode; items: readonly { question: ReactNode; answer: ReactNode; }[]; }—The questions, folded.
leadReactNode—One sentence under it.
toolbarReactNode—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).

Generated from the code of @krizaka/ui 5.3.4: its meta.ts, its examples and its types.Edit this documentation on GitHub

On this page