Krizaka UI
Krizaka UI

Product page

A product's public page assembled from data only: the hero in layers of depth with the product moment, the one journey told while scrolling, the document the visitor touches, the scenes, the limits, the closing call and the footer. Its blocks carry no product name and no colour: the words, media and verdicts are data, the colour is the brand scope.

Web · ✓Mobile · n/aDesktop · n/aBetaTemplates
Support level
Beta
Size
3.0 kB gzip, budget 2.6 kB
Who uses it
No live product imports it yet Counted in the dated inventory of 2026-11-23.
import { ProductPage, ProductHero, ProductActions, ProductMoment, FindingCard, CahierSheet, DocumentScene, DecisionStamp, SceneRow, SceneList, LimitsBand, ClosingBand, PublicFooter } from "@krizaka/ui/product-page";

Web only — React, from @krizaka/ui/product-page. Beta: its API may still change in a minor version.

  • Mobile · n/a. A whole page of a public site, read in a browser; a phone app shows the same proof as a screen built from Screen, Card and the native primitives, and the product's site opens in the browser.
  • Desktop · n/a. A public site's page, not a window of the Mac app.

Why it is here. The public home of Verikora, Sovkora and Folioviv, each in its own ticket after the release (krizaka-internal#4693).

When to use

  • The home of one product: the promise, the proof in five seconds, then the journey and the call.
  • Any part alone: the hero, the scenes, the limits or the closing on a product's inner page.

When not to use

Installation

Install

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

Styles

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

Import

import { ProductPage, ProductHero, ProductActions, ProductMoment, FindingCard, CahierSheet, DocumentScene, DecisionStamp, SceneRow, SceneList, LimitsBand, ClosingBand, PublicFooter } from "@krizaka/ui/product-page";

Examples

A fixture product

A whole page from one data object: hero, story, demo, scenes, limits, closing and footer.

Hero

The promise and its way in beside the product moment, in layers of depth over a still out of focus.

Scenes

One useful action per row, its recording beside a few words, alternating; the first enlarged on a phone.

Limits and closing

What the product does not do beside its bird, then the closing sentence and its one way in.

The neutral decision stamp in the brand's colour, and the public footer drawn from its data.

Props

ClosingBand

The closing: the brand's light rising again, one sentence, its last words underlined by the pen, the one way in.

PropTypeDefaultDescription
actionrequiredReactNode—The one way in (ProductActions).
titlerequiredstring—The sentence before the inked words.
inkedstring—The words the pen underlines, at the end (on a lease.).

DecisionStamp

PropTypeDefaultDescription
childrenrequiredReactNode—The stamp's words (Decision noted).
classNamestring—Classes of the stamp, merged last.

DocumentScene

The scene of a StoryScroll about a document: it arrives, is read, a line lights up, its reference attaches, you decide.

PropTypeDefaultDescription
decisionrequired{ title: string; primary: string; secondary: string; stamp: string; }—The decision (cue: "decide"): the finding, the two choices, the stamp's words.
linesrequiredreadonly SheetLine[]—The document's lines; the flagged one lights up (cue: "light").
referencerequiredstring—The reference the flagged line attaches to (cue: "attach").

FindingCard

PropTypeDefaultDescription
findingrequiredProductFinding—What the product found: its verdict (the product's words), the finding, its reference.

LimitsBand

What the product does not do: a ruled list beside the bird as a specimen. Trust before the call.

PropTypeDefaultDescription
itemsrequiredreadonly string[]—One to three limits, each a short sentence.
titlerequiredstring—What it does not do: the band's h2.
bird"falcon" | "owl" | "duck" | "flamingo" | "pigeon" | "lovebird" | "crane" | "magpie" | "beaver"—The product's bird, drawn as a specimen beside the list.
captionReactNode—The specimen's caption: Fig. 1 · the owl, reads what you give it.

ProductActions

PropTypeDefaultDescription
primaryrequiredProductLink—The main way in: filled, its arrow.
secondaryProductLink—The quiet way in: a link with the pen's underline.

ProductHero

The hero in layers of depth: a still far behind, the grid under the brand's light, the moment, a § nearest the eye.

PropTypeDefaultDescription
titlerequiredReactNode—The promise: the page's h1 (at most eight words).
actionsReactNode—The way in (ProductActions).
backdropstring—A still of the product, far behind and out of focus (an image address).
leadReactNode—How, in one line.
markReactNode§The glyph nearest the eye, out of focus.
visualReactNode—The product moment beside the words (ProductMoment). Absent: one column.

ProductMoment

A tilted Cahier document, read line by line, and the finding that leaves it. On a phone: the lines around the finding.

PropTypeDefaultDescription
answerrequiredReactNode—What leaves the page towards the visitor (FindingCard).
labelrequiredstring—The figure's accessible name (A lease, read, one clause found).
linesrequiredreadonly SheetLine[]—The document's lines, read in turn; the flagged one is the finding's.
idstring—The figure's id: the anchor a menu points to.
tagReactNode—A tag on the paper (Fictional lease).

PublicFooter

The public footer, drawn from data (config: the columns, the legal line, the socials) with the pen's underline on its links.

PropTypeDefaultDescription
currentrequiredSiteId—The site this footer belongs to (@krizaka/ui/sites): marked in the family, its address for path.
childrenReactNode—The site's own link groups (SiteFooter.Column), on the first line.
configSiteFooterConfig—The footer as the admin configured it (resolveFooterSettings of the app's settings): its columns, then one legal line — legalName · NEQ … · city, the version when showVersion, the legal links, the socials. With it the family is not drawn (the columns hold what the site wants) and the org's signature gives way to the legal identity.
controlsReactNode—The host's controls at the end of the last line: the language switch, the theme toggle.
envstring—The environment, when it is not production (DEV).
familybooleancurrent === "krizaka" (and never in `variant="app"`)Shows the family on the second line, folded on a phone. The links to the other sites live on krizaka.com only (founder rule, 2026-10-30): every other site and its documentation opts in on purpose, none by default.
groupsreadonly SiteGroup[]—Only these groups of the family, in reading order (footerFor(id).groups of @krizaka/org). Omit it to draw them all.
labelsFamilyLabelsfamilyLabels.enThe family's words, passed translated: familyLabels.fr from @krizaka/ui/sites, or your own of the same shape.
legalReactNode—The legal links, when not the org's (SiteFooter.Links).
linkAsLinkComponentaThe app's router link for the config's internal links (Next's Link).
madeWithReactNode—variant="hosted": the platform's signature at the end of the line (« Page faite avec Folioviv · Comment cette page est faite »), as SiteFooter.Links. Passed translated.
orgOrgFacts—The organisation's public facts (org of @krizaka/org) — pass them on every site. The names and addresses of the family are then org.family, the signature is org.footer.line (« Une entreprise de Technologies Krizaka · Fait à Montréal », the same everywhere) and, without legal, the legal links are org.footer.legal.
pathstring—The path of the page being read on this site (/en/story, /blog/…): the company link that points to this very page says so (aria-current="page") and a click on it scrolls to the top instead of reloading.
productsreadonly SiteId[]—Only these products in the Products group (the current site always kept). Omit it to list every product.
rowsReactNode—Replaces the bottom line with these rows (FamilyFooter's rows B to E); the family and the site's own links stay above.
toneToneproductcahier on the Cahier sites (www, blog, ui., java., ts., lab.), product in the products.
variant"docs" | "app" | "site" | "hosted"sitesite — every public site. docs — the same under documentation, on its width. app — inside a signed-in product: the last line only; render it once, in the layout. hosted — the footer of a page a platform hosts for its customer (a shop on Folioviv): one line, the customer's legal links then madeWith; no family, no signature, no version.
versionstring—The version the site runs (1.2.3, shown v1.2.3).

SceneList

PropTypeDefaultDescription
scenesrequiredreadonly ProductScene[]—The scenes, in reading order.
idstring—The list's id: the anchor a menu points to.
labelsLoopLabels—The loops' pause / play words, passed translated.

SceneRow

A scene as a row: the words and the recording side by side (alternating), numbered in the margin, the tint shifting.

PropTypeDefaultDescription
indexrequirednumber—Its place in the list, from 0: its § number, its side and its tint.
scenerequiredProductScene—The scene: its words, its device and its recording.
labelsLoopLabels—The loop's pause / play words, passed translated.

CahierSheet

A document's page on paper, its lines numbered in the red margin.

PropTypeDefaultDescription
linesrequiredreadonly SheetLine[]—The document's lines, in order; the flagged one keeps the pen's mark.
classNamestring—Classes of the paper, merged last.
readingboolean—The reading beam passes over each line, then the pen marks the flagged one.
renderLine((line: SheetLine, index: number) => ReactNode)—Draws a line as something else (a button): the host's control, inside the line's §.
tagReactNode—A tag on the paper's edge (Fictional lease).

ProductPage

A product's public page from its data: hero, story, demo, scenes, limits, closing, footer — each part only when given.

PropTypeDefaultDescription
datarequiredProductPageData—Everything the page shows: the words, the media and the verdicts of the product, in the reader's language.

Accessibility

  • The hero's title is the page's only h1; each scene, the story's steps, the demo, the limits and the closing are h2.
  • The moment is a named figure; the story's scene is decorative (aria-hidden), its steps real text.
  • Each loop has a visible pause; under reduced motion or Save-Data the still stays alone.
  • The device's tilt straightens on hover and on focus alike.

Best practices

  • Give data, not markup: ProductPage's data holds every word (title ≤ 8 words, lead ≤ 14, a scene's title ≤ 4) and every verdict label (To check) as the product says it.
  • Set the colour with brand (the .brand-<id> scope of @krizaka/tokens), never a colour in the data.
  • The moment's lines and findings come from a recorded run of the product, never typed for the page.
  • One way in, said twice: the hero's main action and the closing's are the same.
  • The decision stamp is neutral (Decision noted) in the brand's colour: no signature.
  • Motion follows the tiers of @krizaka/ui/motion-tier: full, light on a weak device, still under reduced motion with the final state shown.

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