Krizaka UI
Krizaka UI

Stage banner

The announcement of a chapter: a stage and its name on one line, or, large, a stage above a title and a line — a sober eyebrow by default, a stage call that slams in for the arcade flavour.

Web · ✓Mobile · n/aBureau · n/aBêtaBlocs
Niveau de support
Bêta
Taille
0.9 kB gzip, budget 0.6 kB
Qui l'utilise
1 fichiers des produits et sites en production l'importent Compté dans l'inventaire daté du 2026-11-23.
import { StageBanner } from "@krizaka/ui/stage-banner";

Step 02Payments

Stage 02Sovkora

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

  • Mobile · n/a. Part of the storytelling kit of scroll-driven site pages; a phone app tells its first steps with Onboarding.
  • Bureau · n/a. A public site's page, not a window of the Mac app.

Pourquoi il est là. Its only users were products that left the organisation (2026-10-29): kept until the next major's audit decides.

Quand l’utiliser

  • Before a chapter's heading on a told page or a tour (“Step 02 · Payments”).
  • To open a section that turns the story (size="lg"): a final chapter, a reveal.

Quand ne pas l’utiliser

  • A notice that this deployment is a development version (data can be reset, not a commercial offer).À la place : Environment notice
  • Progress through a form or a checkout.À la place : Stepper
  • A plain eyebrow above a section's heading.À la place : Page

Installation

Installer

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

Styles

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

Importer

import { StageBanner } from "@krizaka/ui/stage-banner";

Exemples

Before a chapter

A stage and its name, sober then in the arcade flavour.

Step 02Payments

Stage 02Sovkora

A section's opening

size="lg": the stage, a title and a line — sober, then a final round.

Chapter 3

Get paid on your terms

Tips, challenges and auctions — 90 % to you.

Final round

The last boss

Eight heads, one by one.

Props

Announces a chapter: a stage and its name on one line, or (size="lg") a stage, a title and a line, centred.

PropTypeDéfautDescription
stagerequisReactNode—Where the reader is: “Step 02”, “Chapter 3”, “Final round”.
brandstring—A brand scope (sovkora → .brand-sovkora).
nameReactNode—sm: the name of the chapter, beside the stage.
size"sm" | "lg"smsm: one line, before a chapter's heading. lg: centred, the stage above a title and a line — a section's opening.
subtitleReactNode—lg: one line under the title.
titleReactNode—lg: the title under the stage.
titleAs"h2" | "h3" | "p"pThe element of the lg title: a heading when the banner opens a section that has none.
variantStoryVariantdefaultdefault: a sober eyebrow. arcade: the stage call — a skewed plate that slams in, a light that sweeps it.

Accessibilité

  • A paragraph by default; the large title can be a heading (titleAs).
  • Its entrance plays once in a stage and never under prefers-reduced-motion.

Bonnes pratiques

  • Few words: the stage (“Step 02”) and a name of one or two words.
  • With size="lg" and no heading after it, pass titleAs="h2" so the section keeps its heading.

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