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.

Navigation Bar

The main app navigation: a top bar on desktop, a bottom bar on mobile.

Status
ReadyBuild day 21 of 21
Code
In React
Role
Navigation

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.

Transaction History

Home

Pastes as editable layers. Shadows are not exported.

import { BottomNav, TopAppBar, type NavItem } from "@/ui";

const items: NavItem[] = [
  { label: "Home", href: "/", icon: "馃彔" },
  { label: "History", href: "/history", icon: "馃晿", count: 3 },
];

export default function NavDemo() {
  return (
    <>
      <TopAppBar title="Transaction History" onBack={() => history.back()} />
      <BottomNav items={items} current="/" />
    </>
  );
}

Variants and states

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

type topwith back and an action

Transaction History

type bottomactive, a count, and a disabled item

Pastes as editable layers. Shadows are not exported.

Props

TopAppBar title
string 路 default none
Required. The page title, an h1.
TopAppBar titleAs
"h1" | "h2" | "p" 路 default "h1"
The tag for the title. Leave it as h1 on a real screen. Use p for a demo inside a page that already has an h1.
TopAppBar onBack
() => void 路 default none
Shows the back button.
TopAppBar actions
ReactNode 路 default none
Buttons on the right.
BottomNav items
{ label, href, icon, count?, disabled? }[] 路 default none
3 to 5 destinations.
BottomNav current
string 路 default none
href of the current page.
BottomNav label
string 路 default "Main"
Names the nav.

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.

Navigation Bar 路 Type
None
Two components in code: TopAppBar and BottomNav.
Title
title
TopAppBar.
Nav Item 路 馃幆 State
current, disabled
Active is current.
Nav Item 路 Icon, Label
icon, label
Per item.
Show Value, Value
count
Danger badge.

Accessibility

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

Keyboard

  • Every item is a link; Tab reaches each one. The back button is a button named Back.

Screen readers

  • BottomNav is a nav landmark. The current item has aria-current=page. A count is read, such as History, 3 new.

What you still need to do

  • Keep 3 to 5 items. Do not hide the label; an icon alone is not enough.

When to use

The three to five destinations people switch between most.

Do and don't

Do

  • Pair every icon with a text label.
  • Mark the current destination with more than color.

Don't

  • Put more than five items in a bottom bar.
  • Use the bar for actions: it is for destinations.

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

See all components

Status reflects the component tracker snapshot of 29 October 2026.