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/aBureau · n/aBêtaModèles
Domaine
Commerce
Niveau de support
Bêta
Taille
1.5 kB gzip, budget 1.5 kB
Qui l'utilise
2 fichiers des produits et sites en production l'importent (Verikora : 1, Sovkora : 1) Compté dans l'inventaire daté du 2026-11-23.
import { PricingPage } from "@krizaka/ui/pricing-page";

Web uniquement — React, depuis @krizaka/ui/pricing-page. Bêta : son API peut encore changer à une version mineure.

  • Mobile · n/a. A whole page of a public site; a phone app's screens are built from Screen, Header and the native primitives.
  • Bureau · n/a. A public site's page, not a window of the Mac app.

Pourquoi il est là. krizaka.com migrating its pages to the specialised template (TPL): /pricing of the products.

Quand l’utiliser

  • Pricing, credits, plans.
  • Any choice between offers.

Quand ne pas l’utiliser

  • For the credits left inside an app.À la place : Meter
  • For a product's overview.

Installation

Installer

npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcss

Styles

@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";

Importer

import { PricingPage } from "@krizaka/ui/pricing-page";

Exemples

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.

PropTypeDéfautDescription
plansrequisreadonly PricingPlan[]—The plans.
plansLabelrequisstring—The plans' accessible name (Plans).
titlerequisReactNode—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.

Accessibilité

  • The plans are a named list; the comparison a table with a caption and header cells.
  • Questions are native disclosures.

Bonnes pratiques

  • 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).

Générée depuis le code de @krizaka/ui 5.3.4 : son meta.ts, ses exemples et ses types.Modifier cette documentation sur GitHub

Sur cette page