Krizaka UI
Krizaka UI

Catalogue page

A catalogue or an index: the search in the hero, the filters in a sticky column beside the results (folded above them on a phone), the count, the results.

Web · ✓Mobile · n/aBureau · n/aBêtaModèles
Niveau de support
Bêta
Taille
2.7 kB gzip, budget 2.5 kB
Qui l'utilise
Aucun produit en production ne l'importe encore Compté dans l'inventaire daté du 2026-11-23.
import { CataloguePage, PlanStrip } from "@krizaka/ui/catalogue-page";

Web uniquement — React, depuis @krizaka/ui/catalogue-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à. Used by Verikora.

Quand l’utiliser

  • Components, packs, use cases, repositories.
  • Any index the reader narrows down.

Quand ne pas l’utiliser

  • For media to look at.
  • For rows to sort and select.À la place : Data table

Installation

Installer

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

Styles

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

Importer

import { CataloguePage, PlanStrip } from "@krizaka/ui/catalogue-page";

Exemples

Components

Krizaka UI's components: search, platform filters, compact link cards.

A client list

plan (figures and a Meter), dividers, filter chips with counts, rows with a status and one action, and the selection bar (#653).

Props

CataloguePage

A catalogue: hero, sticky filters beside the results (folded on a phone), the count, the results.

PropTypeDéfautDescription
filtersrequisReactNode—The filters (groups of ChipLinks, a FilterBar): sticky on a desktop.
filtersLabelrequisstring—On a phone, the words that open the filters (Filters).
titlerequisReactNode—The page's h1.
back{ href: string; label: string; }—The way back.
countReactNode—What matches, in words (24 components).
dividersReactNode—Above the count: the binder dividers (tabs of the shelves: all · active · archived).
eyebrowReactNode—A mono line above the title.
leadReactNode—One sentence under it.
linkAsLinkComponent—The app's link component (Next's Link).
planReactNode—Above the results: the plan strip (PlanStrip) — where the account stands.
railFrom"default" | "wide"defaultFrom which window width the filters stay in their column beside the results. default: 900 px and above. wide: 1280 px and above — a wide table (DataTable) needs the room; under it the filters are a bar above the results.
searchReactNode—In the hero: a search field.
selectionReactNode—After the results (the bar docks itself at the bottom edge): the selection bar (SelectionBar, DataTable bulkActions).
toolbarReactNode—On the right of the count: the sort, a view switch.

PlanStrip

The plan strip of a catalogue: two or three figures and a Meter — where the account stands, at a glance.

PropTypeDéfautDescription
figuresrequisreadonly PlanFigure[]—Two or three figures (12 clients, 3 invoices to send).
labelrequisstring—Names the strip (Your plan).
meterMeterProps—The measure of the plan beside them (Meter): clients used of the plan, storage.

Accessibilité

  • The count is a polite live region; the filters a native disclosure on a phone.
  • Results are a list of links.

Bonnes pratiques

  • Filters as links: the address keeps them, back works.
  • Say the count in words, politely announced.
  • 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