Krizaka UI
Krizaka UI

Site footer

The footer of every Krizaka site and app, compact: at most three lines on a desktop. The site's own links, the family grouped inline (names from org.family; shown on krizaka.com, opt-in elsewhere), then the signature, version, legal links and the host's controls.

Web · ✓Mobile · n/aBureau · n/aBêtaNavigation
Niveau de support
Bêta
Taille
13.6 kB gzip, budget 11.7 kB
Qui l'utilise
19 fichiers des produits et sites en production l'importent (Verikora : 4, Folioviv : 5, Sovkora : 2, krizaka.com : 3) Compté dans l'inventaire daté du 2026-11-23.
import { FamilyFooter, SiteFooter, SiteFooterColumn, SiteFooterLink, resolveFooterSettings, footerSettingsProblems, FOOTER_LIMITS } from "@krizaka/ui/site-footer";

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

  • Mobile · n/a. A site's footer; an app has none.
  • 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

  • The bottom of every page of every Krizaka site — www, blog, ui., java., ts., lab. (tone="cahier") and the products' sites (tone="product"): pass org from @krizaka/org, so every name, address, signature and legal link is the org's.
  • variant="docs" — under documentation pages: the same three lines on the documentation's width.
  • variant="app" — inside a signed-in product or an admin console: the last line only (signature, version, legal), rendered once by the layout.
  • config — the footer as the app's admin configured it (FooterSettings in @krizaka/settings, resolved by resolveFooterSettings): at most four columns of at most six links, then one legal line legalName · NEQ · city, the version when showVersion, the legal links, the org's socials. footerSettingsProblems is the admin form's validation.
  • FamilyFooter — every site of the family (www, blog, the products' pages, kridoc., agents., ui., lab., java., ts., rust.): pass footer={footerFor(siteId)} (@krizaka/org ≥ 1.11.0) and contact={org.contact.page}; five rows under one <footer> (family · the four accounts · source, licence, version, release notes · company and legal links · signature line), each group a labelled <nav>; kind="company"|"developer" changes row C only, company={org.company} fills row D. The library never fetches.
  • variant="hosted" — under a page a platform hosts for its customer (a shop on Folioviv): one line, the customer's legal links then madeWith (« Page faite avec Folioviv · Comment cette page est faite »); no family, no signature, no version. Pair it with PlatformBar above.
  • With MarketingLayout's footer slot, under a bar of @krizaka/ui/nav-bar with NavBar.Family.

Quand ne pas l’utiliser

  • Twice on one page: a page that already sits under a layout's footer renders none of its own (one contentinfo per page).À la place : Marketing layout
  • To list the family in the bar.À la place : Nav bar

Installation

Installer

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

Styles

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

Importer

import { FamilyFooter, SiteFooter, SiteFooterColumn, SiteFooterLink, resolveFooterSettings, footerSettingsProblems, FOOTER_LIMITS } from "@krizaka/ui/site-footer";

Exemples

A product

www.verikora.com: its links on one line, the family on the second, then the org's line, DEV · v1.2.3, the legal links and the language switch.

The company (Cahier)

www.krizaka.com, tone="cahier": no own links needed, the family and the signature line.

In a signed-in app

variant="app": one slim line — the org's line, DEV · v1.2.3, the legal links.

Configured by the admin

config from the app's settings: three columns (the product, help, by Krizaka), then Technologies Krizaka Inc. · NEQ … · Montréal (Québec), v1.2.3, the legal links and GitHub.

With the company's accounts

org.links.social of @krizaka/org: Instagram drawn as its icon at the end of the last line, named « Instagram » for screen readers.

A developer site (from the org JSON)

FamilyFooter with footerFor("ui") of @krizaka/org: the site's own links, the family, then five rows: the family, the four accounts, source · licence · version · release notes, the company and its legal links, the signature line.

Every site of the family

One footer for every site id of the org — the company, the blog, the products (coming-soon pages included), Kridoc, the developer sites: the same family columns, legal line and accounts from footerFor(id); kind changes row C only — a developer site always adds the source code, the licence, the version and the release notes.

A hosted page

variant="hosted": the shop's legal links and « Page faite avec Folioviv · Comment cette page est faite » on one line.

Under documentation

variant="docs": the same three lines on the documentation's width.

Open source, in French

ui.krizaka.com in French, tone="cahier": « Une entreprise de Technologies Krizaka · Fait à Montréal », the version of the packages.

Props

FamilyFooter

The family footer of every site: the five rows, from the org's selection.

PropTypeDéfautDescription
currentrequisSiteId—The site this footer belongs to: marked in the family.
footerrequisFamilyFooterData—footerFor(siteId) of @krizaka/org.
labelsrequisFamilyLabels—The family's words, translated (familyLabels[locale]).
brandstringKrizakaThe company's name for the mark's accessible name.
childrenReactNode—The site's own link groups (SiteFooter.Column), on the first line.
companyFamilyFooterCompany—The company's facts for row D. Without it the row holds the legal links only.
contactRecord<SiteLocale, string>—The company's contact page (org.contact.page of @krizaka/org): the « Krizaka » column's last link.
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).
extraReactNode—Extra links at the end of row C.
kindFamilyFooterKinddeveloper for an open-source siteWhich row C: a developer site's (source, licence, version, release notes) or a company site's.
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.
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.
sourceLabelstringlabels.footer.source« Source code » / « Code source », translated.
variant"docs" | "app" | "site" | "hosted"docssite — 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 only when the footer's selection says so.

FamilyFooter.Column

One of the site's own link groups, inline on the first line: its heading, then its links.

PropTypeDéfautDescription
titlerequisstring—The group's heading (“Docs”) — passed translated.

FamilyFooter.Link

A link of the footer.

PropTypeDéfautDescription
activeboolean—The current page: aria-current="page".
asChildboolean—Renders your router's <Link>.

SiteFooter

The footer of a Krizaka site or app: at most three lines — its links, the family, then signature · version · legal.

PropTypeDéfautDescription
currentrequisSiteId—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).

SiteFooter.Column

One of the site's own link groups, inline on the first line: its heading, then its links.

PropTypeDéfautDescription
titlerequisstring—The group's heading (“Docs”) — passed translated.

SiteFooter.Link

A link of the footer.

PropTypeDéfautDescription
activeboolean—The current page: aria-current="page".
asChildboolean—Renders your router's <Link>.

SiteFooterColumn

One of the site's own link groups, inline on the first line: its heading, then its links.

PropTypeDéfautDescription
titlerequisstring—The group's heading (“Docs”) — passed translated.

SiteFooterLink

A link of the footer.

PropTypeDéfautDescription
activeboolean—The current page: aria-current="page".
asChildboolean—Renders your router's <Link>.

Accessibilité

  • A footer landmark; the family is a nav named by labels.family, each group a list named by its heading.
  • On a phone each family group is a native <details> (keyboard and screen readers for free, 44 px targets); on a desktop it stays open as one line.
  • The current site says aria-current="true" and “You are here” to screen readers; a status is written, never only a colour.
  • A social account is a link named by the account (« Instagram », written for screen readers) around a decorative icon; it opens in a new tab (rel="noopener noreferrer"), shows the 2 px focus ring and only changes colour on hover.
  • The marks are decorative: every site's name is written beside its mark.

Bonnes pratiques

  • Pass org (org of @krizaka/org): the family's names come from org.family — the company « Krizaka », products by their own name, libraries « Krizaka <X> » — and the signature is org.footer.line. Never type a family name or the legal line in a site.
  • One or two own groups (SiteFooter.Column + SiteFooter.Link), a handful of links: what a reader looks for at the bottom (docs, pricing, download, source). Never a link the family line already holds — another site, the story, the blog, contact.
  • Pass the version the site runs (version, env="DEV" on a dev environment) and the language switch and theme toggle in controls.
  • With config, name the company once: the legal line is the publisher's identity; no « A Technologies Krizaka company » beside it, no column that repeats the bar, no newsletter form, no package version, no development host.
  • The company's accounts are the org's (org.links.social; with config, the ids the admin picked, resolved by resolveFooterSettings): each is drawn as its icon from @krizaka/icons (instagram) beside the legal links, never typed in a site. An account with no glyph stays a text link.
  • Pass the words translated: labels={familyLabels[locale]} from @krizaka/ui/sites.

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