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.

Foundation

The tokens every component is drawn with, taken from the Foundation Design System v1.1 in Figma. Change a token and every component that uses it follows.

Open in Figma Community (opens in a new tab)

Accessibility

Natuna targets WCAG 2.2 level AAA wherever it is a property of the design: contrast, target size, focus, line spacing and motion. Text tokens pass 7:1 in light and dark mode. Ramp steps are not all text-safe; see "Text-safe steps" under Color.

Accessibility rules
Text contrast1.4.6 Contrast (Enhanced)7:1Text tokens only: text/primary, secondary, tertiary and link. Light: gray-900 / gray-700 / gray-600 / blue-800 on canvas. Dark: gray-50 / gray-200 / gray-300 / blue-200 on gray-900. On surfaces, tertiary text steps up to secondary.
Large text1.4.6 Contrast (Enhanced)4.5:124px and up, or 19px bold and up. Headings still use text/primary (7:1+).
Text on fills1.4.6 Contrast (Enhanced)7:1White on blue-800 (8.05) and red-800 (8.41). Navy on Signal, Jade 500, Amber 500 and Sky 500. Ramp anchors (step 600) are fills, not text colors.
Non-text contrast1.4.11 Non-text Contrast3:1Control borders gray-500 on canvas, gray-600 on surface, gray-400 in dark. Focus ring blue-600 (light) and blue-400 (dark).
Target size2.5.5 Target Size (Enhanced)44 × 44pxEvery button, tab, toggle and list link, including the in-page navigation. Inline links in sentences are exempt.
Focus2.4.13 Focus Appearance2px, 3:12px solid outline in focus/ring, 2px offset, on every focusable element in both modes.
Line spacing1.4.8 Visual Presentation1.5Body and caption styles used for paragraphs run at 1.5 or more. Caption 2 (12/16) is for single-line metadata only.
Motion2.3.3 Animation from InteractionsCan be turned offAll animation stops under prefers-reduced-motion.
Color alone1.4.1 Use of ColorNeverStatus pairs color with a label or icon, and links inside text are underlined.

Color

Three brand ramps carry identity and five utility ramps carry meaning. Step 600 anchors each ramp. The ratio under each swatch is its contrast against the page canvas in the active mode: white in light, gray-900 in dark. Text needs 7:1, marked AAA. Steps that reach only 4.5:1 are marked AA and suit large text alone. Ramp steps are not all text-safe, and the first safe step differs per ramp, so the table below lists it for each one. Select a swatch to copy its hex. One flat accent, Signal, follows the ramps.

Text-safe steps

Text-safe steps
RampAnchor 600 on whiteUI ≥ 3:1 fromText AA fromText AAA fromAAA text in dark (on gray-900)
Azure Blue4.59 · AA text500600800≤ 300
Tomato Red4.02 · large text only600700900≤ 300
Slate Gray7.54 · AAA text500500600≤ 300
Sky Blue2.94 · fills only700800950≤ 400
Jade Green3.10 · large text only600800900≤ 400
Amber Yellow2.25 · fills only800800900≤ 600
Imperial Red4.33 · large text only500700800≤ 300
Amethyst Purple5.27 · AA text400500700≤ 200

Azure Blue

Brandblue-50 … blue-950

Tomato Red

Brandorange-50 … orange-950

Slate Gray

Brandgray-50 … gray-950

Sky Blue

Utilityteal-50 … teal-950

Jade Green

Utilityemerald-50 … emerald-950

Amber Yellow

Utilityamber-50 … amber-950

Imperial Red

Utilityred-50 … red-950

Amethyst Purple

Utilityviolet-50 … violet-950

Signal

Accentlime
Navy text on Signal

#c6f432 is 14.61:1 against navy #0b1220 and 1.28:1 against white. Navy text only, never white, and never as text on a light page. Use it sparingly, for one marked step or state per view on the dark landing sections.

Typography

Urbanist, a geometric sans with open forms that stays legible at caption sizes. Each style has a size and line height for mobile, tablet, and website. Caption 2 is for single-line metadata only. The samples below resize with your window, and each one is a class (type-h1 to type-caption-2) built from the --text-* tokens. Four weights give emphasis without changing the size.

  • Regular
  • Medium
  • Semibold
  • Bold
Header 1: Send money to any account
One per page, the page title. Class type-h1.
Mobile
24 / 36
Tablet
28 / 40
Website
32 / 44
Header 2: Send money to any account
Section titles. Class type-h2.
Mobile
20 / 30
Tablet
24 / 36
Website
28 / 40
Subheader: Send money to any account
Group titles inside a section. Class type-subheader.
Mobile
18 / 26
Tablet
20 / 30
Website
24 / 36
Body 1: Send money to any account
Default reading text. Class type-body-1.
Mobile
16 / 24
Tablet
18 / 28
Website
18 / 28
Body 2: Send money to any account
Dense UI text and table cells. Class type-body-2.
Mobile
14 / 22
Tablet
14 / 22
Website
14 / 22
Caption 1: Send money to any account
Labels, helper text, metadata. Class type-caption-1.
Mobile
12 / 18
Tablet
12 / 18
Website
14 / 22
Caption 2: Send money to any account
Smallest metadata. Avoid for anything users must read. Class type-caption-2.
Mobile
12 / 16
Tablet
12 / 16
Website
12 / 16

Two sizes sit above this scale. Page titles on the docs pages are 36 px on phones and 48 px from the sm breakpoint (text-4xl and text-5xl) and the home page headings are larger display sizes. Section headings on the docs pages use Header 2.

Number

One numeric scale for spacing, sizing, and layout widths, so every gap is a value someone already named. Each step is given in px and rem, where 1rem is 16px.

Spacing and sizing

0 to 160px. Bars are drawn at true size.

  • 0px0 rem
  • 1px0.0625 rem
  • 4px0.25 rem
  • 6px0.375 rem
  • 8px0.5 rem
  • 10px0.625 rem
  • 12px0.75 rem
  • 14px0.875 rem
  • 16px1 rem
  • 20px1.25 rem
  • 24px1.5 rem
  • 28px1.75 rem
  • 32px2 rem
  • 36px2.25 rem
  • 40px2.5 rem
  • 44px2.75 rem
  • 48px3 rem
  • 52px3.25 rem
  • 56px3.5 rem
  • 64px4 rem
  • 72px4.5 rem
  • 80px5 rem
  • 96px6 rem
  • 112px7 rem
  • 128px8 rem
  • 144px9 rem
  • 160px10 rem

Layout widths

178 to 1920px. Bars are relative to 1920px.

  • 178px11.125 rem
  • 192px12 rem
  • 208px13 rem
  • 224px14 rem
  • 240px15 rem
  • 256px16 rem
  • 288px18 rem
  • 320px20 rem
  • 384px24 rem
  • 480px30 rem
  • 560px35 rem
  • 640px40 rem
  • 720px45 rem
  • 768px48 rem
  • 1024px64 rem
  • 1280px80 rem
  • 1440px90 rem
  • 1600px100 rem
  • 1920px120 rem

Number variables

The scale is published in Figma as three variable sets, each with only the steps that purpose needs. The token name is what you pick in the variable list.

Padding

Space around UI elements. It separates components and keeps the interface readable.

Number System/Padding/{value}
  • Null
  • 2px
  • 4px
  • 8px
  • 10px
  • 12px
  • 16px
  • 20px
  • 24px
  • 32px
  • 40px
  • 48px
  • 52px
  • 56px
  • 64px
  • 72px
  • 80px
  • 96px
  • 112px

Rounded

Corner radius for soft, approachable shapes. Full is the pill value, stored as 1920.

Number System/Rounded/{value}
  • Null
  • 4px
  • 8px
  • 16px
  • 20px
  • 24px
  • 32px
  • 40px
  • 48px
  • Full

Width & Height

Component dimensions. Consistent sizes keep layouts balanced and set visual hierarchy.

Number System/Width & Height/{value}
  • Null
  • 2px
  • 4px
  • 8px
  • 10px
  • 12px
  • 16px
  • 20px
  • 24px
  • 32px
  • 40px
  • 48px
  • 52px
  • 56px
  • 64px
  • 72px
  • 80px
  • 96px

Radius

Larger surfaces take larger radii, so nesting stays visually consistent: an 8px button sits inside a 16px card.

  • sm 4px
    Rounded/4
    Badges, checkboxes
  • md 8px
    Rounded/8
    Buttons, inputs
  • xl 16px
    Rounded/16
    Cards, panels
  • 2xl 24px
    Rounded/24
    Sheets, large surfaces
  • 3xl 32px
    Rounded/32
    Hero surfaces
  • full pill
    Rounded/1920
    Avatars, toggles

Device

Frame sizes the system is designed against. Padding and layout are set per device so content has room to breathe on every screen. All frames share one scale, so their sizes compare directly.

Android portrait
Tablet portrait
Tablet landscape
Desktop default

Effect

Shadow lifts cards, modals, and floating buttons off the page. Each level stacks two soft layers of the ink color at 6 to 15 percent opacity, so depth reads without a hard edge. Background blur softens what sits behind an overlay while keeping its context.

Shadow

Shadows are specified on light surfaces, so these samples stay light in both modes. In dark mode, elevation comes from a lighter surface instead.

  • shadow-sm
    Y 1, blur 2, 6%
    Y 2, blur 4, 10%
  • shadow-md
    Y 2, blur 4, 8%
    Y 4, blur 8, 12%
  • shadow-lg
    Y 4, blur 8, 10%
    Y 10, blur 20, 15%
  • shadow-xl
    Y 8, blur 16, 12%
    Y 20, blur 40, 15%

Background blur

  • blur-sm 8px, fill 10%
  • blur-md 16px, fill 10%
  • blur-lg 24px, fill 10%
  • blur-xl 40px, fill 10%