Skip to content

BottomNav

Category: Navigation

<BottomNav label="Primary">
<BottomNav.Item icon={<HomeIcon />} active>
Home
</BottomNav.Item>
<BottomNav.Item icon={<SearchIcon />}>Browse</BottomNav.Item>
<BottomNav.Item icon={<BellIcon />} badge={3}>
Activity
</BottomNav.Item>
<BottomNav.Item icon={<UserIcon />} badge>
Me
</BottomNav.Item>
</BottomNav>

Install: @helix-ui/core

import { BottomNav } from '@helix-ui/core';

status: stable · since: 0.5.0

Tags: mobile, tabs, fixed-bottom, tab-bar, primary-nav

┌────────────────────────────────────────────────┐ ← page content scrolls
│ │
├────────────────────────────────────────────────┤
│ ⌂ Home ⊙ Search ◎ Profile │ ← BottomNav (fixed)
└────────────────────────────────────────────────┘
  • display — fixed
  • width — fill
  • height — content
  • intrinsicSize — pinned to bottom edge, ~56-64px tall
  • stackable — false
  • fullBleed — true

A fixed bottom bar with 3–5 evenly spaced items, each an icon over a tiny label. Active item uses brand foreground; inactive use muted text. Optional Badge/dot floats at top-right of the icon. On notch devices, padding reads env(safe-area-inset-bottom).

Name Type Default Description
label string Primary aria-label on the wrapping <nav>.
  • BottomNav.Item — anchor (when href) or button. Props: icon, active (sets aria-current="page"), badge (number → count, true → dot).

color.bg.surface.default, color.bg.action.danger.default, color.text.secondary, color.text.action.brand, color.text.on.danger, color.border.default, color.border.focus, radius.full, font.family.sans, font.size.xs, font.weight.medium, font.weight.semibold

Notes

  • Wrapped in <nav aria-label>. Active item is rendered with aria-current="page".
  • Includes padding-bottom: env(safe-area-inset-bottom) so it sits above the iOS home indicator when used as a fixed bar.
Component Relation Note
SafeArea parent Wrap in SafeArea on mobile builds for inset.
Sidebar alternative Sidebar is desktop primary nav; BottomNav is mobile.
Tabs alternative Tabs for in-page section switching; BottomNav for app-level nav.
FAB sibling
AppShell sibling

These are the AI prompt → JSX mappings used by the helix-ui prompt DSL and integrations like Cursor / Claude Code.

“three-tab bottom bar Home, Search, Profile”

<BottomNav>
<BottomNav.Item href="/" icon={<HomeIcon />} active>
Home
</BottomNav.Item>
<BottomNav.Item href="/search" icon={<SearchIcon />}>
Search
</BottomNav.Item>
<BottomNav.Item href="/me" icon={<UserIcon />}>
Profile
</BottomNav.Item>
</BottomNav>

“show a dot badge on Inbox”

<BottomNav.Item href="/inbox" icon={<InboxIcon />} badge>
Inbox
</BottomNav.Item>