Kira component kit

@kira/components is a packaged React library of Kira's own components, patterns and tokens — one install, one stylesheet, React as the only peer dependency.

npm i @kira/components @kira/icons
Stylesheet
16.3 kB gzip, shared by every component
Component JS
304 B–2.4 kB gzip each, tree-shaken

Preparing the interactive preview…The interactive preview needs JavaScript. Every component is listed below with its states and reference.

React UI components from the Kira design system. Find usage guidance, component states, and examples for desktop, iPad and phone.

Components

Button

Trigger an action or submit a form. Use a visible label or name an icon-only button.

States: Six variants and six sizes, loading, disabled, keyboard focus.

MCP · catalog_get with {"id":"button","guide":true}

CLI · kira-components get button --guide --json

Input

Collect or display short text in a native field. Give it a visible label or an accessible name.

States: Search, plain field, state field, affixes, focus, read-only, error, disabled.

MCP · catalog_get with {"id":"input","guide":true}

CLI · kira-components get input --guide --json

Chip

Display a filter, scope, or project label. Put it in a named control when it needs to be interactive.

States: Filter, scope and project; default, selected and pinned focus.

MCP · catalog_get with {"id":"chip","guide":true}

CLI · kira-components get chip --guide --json

Badge

Label a status, tag, count, or code. Keep the meaning in the text as well as the colour.

States: Four kinds, nine tones, four size settings, long labels.

MCP · catalog_get with {"id":"badge","guide":true}

CLI · kira-components get badge --guide --json

Avatar

Represent a person or project with initials. Provide the full name for assistive technology.

States: Person, project and overridden initials.

MCP · catalog_get with {"id":"avatar","guide":true}

CLI · kira-components get avatar --guide --json

Menu

Offer a short list of actions from one trigger. Use a Popover for richer interactive content.

States: Closed and open, icons, shortcut hints, current and disabled items, keyboard dismissal.

MCP · catalog_get with {"id":"menu","guide":true}

CLI · kira-components get menu --guide --json

Sheet

Present a modal task or filter from the bottom edge, with space for scrollable content.

States: Closed, open, action, Escape, scrim and drag dismissal.

MCP · catalog_get with {"id":"sheet","guide":true}

CLI · kira-components get sheet --guide --json

Tabs

Switch between content panels. Give Tabs an id and use the same id as tabsId on each TabPanel.

States: Selected and unselected tabs, keyboard navigation, visible and hidden panels.

MCP · catalog_get with {"id":"tabs","guide":true}

CLI · kira-components get tabs --guide --json

Toast

Show brief feedback. The host decides when it appears and when to remove it.

States: Plain and icon messages, optional action, dismiss and restore.

MCP · catalog_get with {"id":"toast","guide":true}

CLI · kira-components get toast --guide --json

Dialog

Ask for confirmation before a consequential action. Use DialogAction for the action row.

States: Closed, open, ordinary and destructive actions, Escape and focus return.

MCP · catalog_get with {"id":"dialog","guide":true}

CLI · kira-components get dialog --guide --json

Segmented control

Switch between a few related views. Give each group a name and control its selection with value and onChange.

States: Default and small tracks, selected and unselected, icon labels, arrow-key navigation.

MCP · catalog_get with {"id":"segmented-control","guide":true}

CLI · kira-components get segmented-control --guide --json

ChatInput

Compose a message. Keep the draft in the caller so a failed send does not erase it.

States: Idle, ready, focused, disabled, pending without Stop, pending with Stop.

MCP · catalog_get with {"id":"chat-input","guide":true}

CLI · kira-components get chat-input --guide --json

Popover

Show anchored controls while keeping the rest of the page available.

States: Closed, open, placement and collision handling, Escape and outside dismissal.

MCP · catalog_get with {"id":"popover","guide":true}

CLI · kira-components get popover --guide --json

Divider

Separate two blocks, or show that work is running between them. An idle Divider is a plain hairline; busy, its label brightens as two streaks arrive.

States: Plain rule, labelled, busy with a 1.6s pass, reduced motion.

MCP · catalog_get with {"id":"divider","guide":true}

CLI · kira-components get divider --guide --json

Kira patterns

Desktop sidebar, iPad icon rail, and phone bottom tab bar.

State and phase

Gate review tracks Frame, Repro, Fix, Prove, Ship and Learn. A gate can send work back for another round.

Layout reference

Dashboard, Board, and Gate review examples at Kira’s four device widths.

Inventory

Every specimen the approved Components route draws, in its order. Packaged means the kit implements it as a catalog entry on the draft component branch, not that a registry publishes it. Reference only means the specimen is drawn but not implemented.

Primitives

Single-purpose parts, in the order the Components route draws them.

Compositions

Packaged parts whose specimen is drawn inside a composed screen.

Icons

The separate @kira/icons package, drawn on its own route.

  • Icons Packaged component-library/iconskira-components get icons --guide --json84 icons in 4 groups, in @kira/icons rather than @kira/components. Design specimen

Kit additions

Packaged parts the kit adds that the approved export does not draw.