Mascots
The Krizaka flock: nine figures (falcon, owl, duck, flamingo, pigeon, lovebird, crane, magpie — and the beaver) in five moods, drawn in the product's brand colours — and the phoenix, the comeback.
- Domain
- Foundations
- Support level
- Size
- 9.4 kB gzip, budget 6.6 kB
- Who uses it
- 44 files of the live products and sites import it (Verikora: 12, Folioviv: 11, Sovkora: 12, krizaka.com: 7) Counted in the dated inventory of 2026-11-23.
import { Mascot, MASCOT_BIRDS, MASCOT_MOODS, Phoenix } from "@krizaka/ui/mascots";Web and mobile — the same component for React and React Native. Beta: its API may still change in a minor version.
Why it is here. Used by Sovkora, Verikora, Folioviv, krizaka.com.
When to use
- To welcome a person on a first screen or an onboarding step (
welcome). - While a long task runs and the person waits for it (
thinking), beside its progress. - When a long task has just finished well (
success): a generation, an import, a verification. - In an empty state the person reaches for the first time (
empty), above its title. - On a full-page or panel error, beside what went wrong and what to do (
error).
When not to use
Installation
Install
npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcssStyles
@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";Import
import { Mascot, MASCOT_BIRDS, MASCOT_MOODS, Phoenix } from "@krizaka/ui/mascots";Examples
Moods
One bird in its five moods: welcome, thinking, success, empty, error.
The flock
The nine figures in the brand colours of the host.
Signature colours
tone="own": each bird in its colours of the Krizaka story.
In an empty state
The owl above an empty list, the words and the action beside it.
During a long task
The pigeon thinking beside the progress of a job.
An introduction
The lovebird celebrates a mutual interest: two people who chose each other meet.
The phoenix
The sixth figure: a comeback — a relaunch, a recovered account — in its own colours or the brand's.
Listening
The crane stands still and listens: a calm opening, the words and one action beside it.
Keeping the score
The magpie celebrates a win: the points counted, the standings moved, the words beside it.
At the shop
The beaver at work: the day's bookings, the words and one action beside it.
Props
Mascot
One of the nine Krizaka figures in one mood — for the moments a product speaks to a person: a welcome, a long wait,
a success, an empty list, an error. Drawn in the host's brand colours by default (tone="own" for the story's).
| Prop | Type | Default | Description |
|---|---|---|---|
animated | boolean | true | A light idle motion and the mood's gesture. Off with false; always off under prefers-reduced-motion. |
bank | number | — | Which way it leans in flight, -1 (left) to 1 (right). |
bird | "falcon" | "owl" | "duck" | "flamingo" | "pigeon" | "lovebird" | "crane" | "magpie" | "beaver" | owl | Which bird of the flock: falcon (watch, security), owl (reading, documents), duck (building, code), flamingo (answers, support), pigeon (delivery, notifications), lovebird (introductions, two people who meet), crane (listening, a calm moment), magpie (the score: points, standings, trophies), beaver (the shop: a small business at work). |
carrying | boolean | true | Whether the pigeon holds its parcel (default true): a flock hands it over and the bird flies back light. |
flying | boolean | — | In flight (life): the wings beat, the body leans into the trip — the pigeon of a delivery. |
life | boolean | false | The bird at ease, in character (mood welcome, the default): it breathes, blinks in its own rhythm, tilts its head,
ruffles a wing, now and then hops — the falcon watches, the owl reads, the duck builds, the flamingo answers, the
pigeon delivers. CSS only, still under prefers-reduced-motion and with animated={false}. |
look | "center" | "right" | "left" | "up" | — | Where it looks (life): left and right turn the head and the eyes, up raises them, center rests. |
mood | "empty" | "success" | "error" | "welcome" | "thinking" | welcome | What the moment is: welcome (onboarding), thinking (a long task running), success (it is done), empty (nothing here yet), error (it failed). |
phase | number | — | Where in its cycles the bird starts, 0 to 1 (default: from the instance's id), so two birds never move together. |
poked | boolean | — | A tap or a poke just happened (life): a small jump. Set it for a moment, then unset. |
size | number | 96 | Width and height in pixels. |
title | string | — | An accessible name (the bird becomes an image); without it the mascot is decorative. |
tone | MascotTone | brand | brand (default): the host's accent, so the bird wears the product it is in. own: the bird's signature colours of the Krizaka story. |
Phoenix
The phoenix: the comeback, beside the five birds of the flock (Mascot). Decorative unless titled.
| Prop | Type | Default | Description |
|---|---|---|---|
animated | boolean | true | A slow float and a breathing core. Off with false; always off under prefers-reduced-motion. |
size | number | 120 | Width and height in pixels. |
title | string | — | An accessible name (the phoenix becomes an image); without it, it is decorative. |
tone | "brand" | "own" | own | own (default): the violet wing and the gold wing of the Krizaka story. brand: the host's accent and accent-2. |
Accessibility
- Decorative by default (
aria-hidden): the text next to it carries the meaning. Withtitleit becomes an image with that name. - Every gesture (idle bob, blink, wave, dots, hop) stops under
prefers-reduced-motion, and withanimated={false}. - The success and error badges are not the only signal: say it in words beside the bird.
Best practices
- One mascot per screen, and only at a moment that matters: a welcome, a wait, a success, an empty list, an error.
- Keep the bird's role: the owl reads (documents), the falcon watches (security), the duck builds (code), the flamingo answers (support), the pigeon delivers (notifications, packages), the lovebird introduces (matches, two people who meet), the crane listens (a quiet moment, someone who takes their time), the magpie keeps the score (points, standings, trophies), the beaver builds the shop (a small business at work: bookings, invoices, the till).
- The phoenix (
Phoenix) does no job: keep it for a comeback — a relaunch, a recovered account, a second chance — never as one more helper. - Leave
tone="brand"in a product: the bird wears the product's accent;ownis for the Krizaka story. - The words stay beside it (a title, a line, an action): the mascot never carries the message alone.
Related components
Generated from the code of @krizaka/ui 5.3.4: its meta.ts, its examples and its types.Edit this documentation on GitHub