Ask Natuna

Ask about the design system

Hi, I am Natuna.

Ask me about the design system: components, tokens, statuses, and how to use them.

Natuna can be wrong. The docs are the source of truth.

Skip to content
  • IntroductionPage
  • Ask NatunaAsk about the design systemPage
  • FoundationColor, type, number, effectPage
  • Components overviewPage
  • ThemesLight and dark modePage
  • NamingProperty and page namesPage
  • Privacy statementPage
  • Text-safe stepsFirst AA and AAA step per color rampSection
  • AccessibilityWCAG 2.2 AAA rulesSection
  • Dark modeThemesSection
  • Using it todayFigma file and React codeSection
  • Component statusDesign status and In ReactSection

Arrow keys to move, Enter to open, Esc to close.

Status

Shows the state of a record, such as a payment or request, with color and text.

Status
ReadyBuild day 6 of 21
Code
In React
Role
Display

Usage

This demo is live, and the code below it is the same code, imports included. The component lives in src/ui of this repository and is not published to npm yet.

PendingSuccessfulFailedRefunded18 Sep, 14:02

Pastes as editable layers. Shadows are not exported.

import { Status, type StatusValue } from "@/ui";

const status: StatusValue = "pending";

export default function StatusDemo() {
  return (
    <>
      <Status status={status} />
      <Status status="success" type="dot" />
      <Status status="refunded" type="inline" timestamp="18 Sep, 14:02" />
    </>
  );
}

Variants and states

Every specimen is the real component from src/ui, held in one state.

type pillsm and md
Pending
Processing
Successful
Failed
Expired
Refunded
Pending
Processing
Successful
Failed
Expired
Refunded
type inlinesm and md
Pending18 Sep, 14:02
Processing18 Sep, 14:02
Successful18 Sep, 14:02
Failed18 Sep, 14:02
Expired18 Sep, 14:02
Refunded18 Sep, 14:02
Pending18 Sep, 14:02
Processing18 Sep, 14:02
Successful18 Sep, 14:02
Failed18 Sep, 14:02
Expired18 Sep, 14:02
Refunded18 Sep, 14:02
type dotsm and md
Pending
Processing
Successful
Failed
Expired
Refunded
Pending
Processing
Successful
Failed
Expired
Refunded

Pastes as editable layers. Shadows are not exported.

Props

status
"pending" | "processing" | "success" | "failed" | "expired" | "refunded" · default none
A closed set. Text, icon, and tone are locked per status. Adding one is a design system change.
type
"pill" | "inline" | "dot" · default "pill"
Filled pill, icon with text, or a dot with text.
size
"sm" | "md" · default "md"
Icon and text size.
timestamp
ReactNode · default none
Shown after the text for inline only. Pass the formatted date.

Figma to code

Figma properties by their exact names from Naming, and the React prop that carries each one. The table covers the shared properties that bear on this component; the Figma file decides which of them its component exposes. None means there is no prop for it yet.

🧰 Type
type
pill, inline, or dot.
📐 Size
size
sm or md.
🎯 Status
status
Same six values. Success is Successful in the text.
📅 Show Timestamp, Timestamp
timestamp
Pass timestamp to show it. Inline only.

Accessibility

What the code in src/ui does today, and what it leaves to you.

Keyboard

  • Not focusable and not interactive. Tab skips it.

Screen readers

  • Read as plain text. Icons and dots are aria-hidden, so the text carries the meaning.

What you still need to do

  • Format the timestamp for the user's locale before you pass it.
  • A status that changes while the user is on the page is not announced. Use a live region if they need to hear it.

When to use

Lists and detail pages where the user needs to know what state an item is in.

Do and don't

Do

  • Map each state to one color and keep it the same across the product.
  • Always include the state name in text.

Don't

  • Rely on color alone.
  • Invent a new color for a state that already has one.

4 of 28 other molecules, same role and ready ones first.

See all components

Status reflects the component tracker snapshot of 29 October 2026.