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.

Chip

A compact label for a category, filter, or selected value.

Status
ReadyBuild day 16 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.

KPR10-year termApproved

Pastes as editable layers. Shadows are not exported.

import { useState } from "react";
import { Chip } from "@/ui";

export default function ChipDemo() {
  const [filters, setFilters] = useState<string[]>(["KPR", "10-year term"]);

  return filters.map((f: string) => (
    <Chip key={f} label={f} tone="primary" onRemove={() => setFilters(filters.filter((x) => x !== f))} />
  ));
}

Variants and states

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

type filledsm and md
NeutralPrimarySuccessWarningDanger
NeutralPrimarySuccessWarningDanger
type outlinesm and md
NeutralPrimarySuccessWarningDanger
NeutralPrimarySuccessWarningDanger

Pastes as editable layers. Shadows are not exported.

Props

label
string · default none
Required. Also names the remove button.
tone
"neutral" | "primary" | "success" | "warning" | "danger" · default "neutral"
type
"filled" | "outline" · default "filled"
size
"sm" | "md" · default "md"
Height 24 or 32.
icon
ReactNode · default none
Decorative icon before the label.
onRemove
() => void · default none
Shows the remove button.

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
filled or outline.
📐 Size
size
sm or md.
🎨 Tone
tone
Same five tones.
Show Icon Left, Change Icon Left
icon
Pass an icon.
Show Close
onRemove
Pass the handler to show it.
Label
label
Same.

Accessibility

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

Keyboard

  • The remove button is a native button with a 44px target.

Screen readers

  • The remove button is named Remove followed by the label.

What you still need to do

  • After removing a chip, move focus to the next chip or back to the field that made it.
  • Unlike Badge, which only labels, a chip stands for something the user chose.

When to use

Applied filters, selected options in a multi-select, or content categories.

Do and don't

Do

  • Give removable chips a clear remove button with an accessible name.
  • Keep chip text to one or two words.

Don't

  • Use a chip for status: use a badge.
  • Let a row of chips overflow the screen: wrap it.

4 of 16 other atoms, same role and ready ones first.

See all components

Status reflects the component tracker snapshot of 29 October 2026.