Skip to content
SENVENLI UI

Bottom navigation

A bottom tab bar for phones with four or five top destinations and badges.
A phone's tab bar
import { BottomNav } from "@senvenli/react/navigation";

Guidelines

When to use it

  • The main navigation of an app on phones.

Use something else when

  • There are more than five destinations or a wide screen. Sidebar
  • The views belong to one page, not the whole app. Tabs

Accessibility

Built in

  • Hides while the on-screen keyboard is open.
  • Badges are announced with their item.

You provide

  • Short labels.

API reference

BottomNav

itemsRequired
readonly BottomNavItem[]

Four or five top destinations.

currentKey
string
aria-label
string

Names the navigation landmark; "Main menu" by default.