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.
- Domaine
- Blocs de page et gabarits
- Niveau de support
- 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 tailwindcssStyles
@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.
| Prop | Type | Défaut | Description |
|---|---|---|---|
filtersrequis | ReactNode | — | The filters (groups of ChipLinks, a FilterBar): sticky on a desktop. |
filtersLabelrequis | string | — | On a phone, the words that open the filters (Filters). |
titlerequis | ReactNode | — | The page's h1. |
back | { href: string; label: string; } | — | The way back. |
count | ReactNode | — | What matches, in words (24 components). |
dividers | ReactNode | — | Above the count: the binder dividers (tabs of the shelves: all · active · archived). |
eyebrow | ReactNode | — | A mono line above the title. |
lead | ReactNode | — | One sentence under it. |
linkAs | LinkComponent | — | The app's link component (Next's Link). |
plan | ReactNode | — | Above the results: the plan strip (PlanStrip) — where the account stands. |
railFrom | "default" | "wide" | default | From 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. |
search | ReactNode | — | In the hero: a search field. |
selection | ReactNode | — | After the results (the bar docks itself at the bottom edge): the selection bar (SelectionBar, DataTable bulkActions). |
toolbar | ReactNode | — | 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.
| Prop | Type | Défaut | Description |
|---|---|---|---|
figuresrequis | readonly PlanFigure[] | — | Two or three figures (12 clients, 3 invoices to send). |
labelrequis | string | — | Names the strip (Your plan). |
meter | MeterProps | — | 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).
Composants liés
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