Sites
The Krizaka family as data: every site (the company, the products, the open-source projects, GitHub) with its address, kind, status, mark and repository, and the family's words in English and French — read by the bar's family switcher and the common footer.
- Domaine
- Fondations
- Niveau de support
- Taille
- 2.4 kB gzip, budget 2.3 kB
- Qui l'utilise
- 15 fichiers des produits et sites en production l'importent (Verikora : 1, Folioviv : 1, Sovkora : 1, krizaka.com : 2) Compté dans l'inventaire daté du 2026-11-23.
import { sites, siteGroups, siteById, sitesByGroup, familyLabels } from "@krizaka/ui/sites";Web uniquement — React, depuis @krizaka/ui/sites. Bêta : son API peut encore changer à une version mineure.
- Mobile · n/a. The Krizaka family as data for the sites' bars; the apps are independent products.
- Bureau · n/a. A public site's page, not a window of the Mac app.
Pourquoi il est là. Used by Sovkora, Verikora, Folioviv, krizaka.com.
Quand l’utiliser
- To list or link the sites of the Krizaka family anywhere: a products page, an open-source hub, a README generator.
- To know a site's status (released, coming soon, under construction, in development) without writing it again.
Quand ne pas l’utiliser
- To draw the family in a bar:
NavBar.Familyalready reads it.À la place : Nav bar - To draw the family at the bottom of a page:
SiteFooteralready reads it.À la place : Site footer - For a site's own pages and sections: they belong to the site, not to the family.
Installation
Installer
npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcssStyles
@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";Importer
import { sites, siteGroups, siteById, sitesByGroup, familyLabels } from "@krizaka/ui/sites";Exemples
The family
Every site, grouped as the bar and the footer show it: name, address, status and its one line.
In French
The family's words in French (familyLabels.fr): names, addresses and statuses stay; the lines translate.
Props
Ce module n'a pas de props de composant : voir l'import et l'aperçu ci-dessus.
Accessibilité
- Plain data: the components that render it own the semantics (named lists,
aria-currenton the current site, statuses in words). - Every site has a name and a one-line description, so a mark is always decorative beside its words.
Bonnes pratiques
- Never type a family address, status or one-line description in an app: a new or renamed site is one release of @krizaka/ui, and every bar and footer follow.
- Pass
familyLabels[locale](en, fr) to the components, or your own translation of the sameFamilyLabelsshape. - Say a status in words: “Coming soon” for an upcoming product, “Under construction” for one being built — never beta or a waiting list.
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