Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
NavigationAndroid

Navigation bar

Select among peer application destinations with native visuals and controlled state.

Public APILumenNavigationBarAndroid / Compose

Native example

Use Navigation bar

Use for a small set of peer app destinations. Keep hierarchical navigation, history, deep links, restoration, and screen rendering in the application router or native navigation stack.

Navigation bar rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenNavigationBar(
    items = destinations,
    selectedValue = destination,
    onValueChange = ::setDestination,
    onReselect = ::scrollDestinationToTop
)

Reference

Public API

The primary shared and platform-specific options exposed by LumenNavigationBar.

APIValues or typeDefaultDescription
itemsList<LumenNavigationItem<Value>>RequiredProvides destination values, short labels, native icons, disabled state, and optional dot, text, or capped count badges.
selectedValueValueRequiredStores the active destination.
onValueChange(Value) -> UnitRequiredRequests a destination change without owning navigation history.
onReselect((Value) -> Unit)?nullHandles a second activation of the selected destination, such as scrolling to top or popping its stack.
accessibilityLabelStringPrimary navigationNames the destination group for assistive technology.

Native behavior

Design and accessibility

When to use it

Use for a small set of peer app destinations. Keep hierarchical navigation, history, deep links, restoration, and screen rendering in the application router or native navigation stack.

Accessibility

The group has a readable navigation label and every destination exposes selected and disabled state through native tab semantics.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module