Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
NavigationAndroid

Navigation bar accessory

Place compact application status or actions above Material bottom navigation.

Public APILumenNavigationBarAccessoryAndroid / Compose

Native example

Use Navigation bar accessory

Place directly above LumenNavigationBar for one compact activity such as playback, upload, recording, or an active call. Keep domain state and actions application-owned.

Navigation bar accessory rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenNavigationBarAccessory(scrollState = navigationScrollState) {
    LumenText("Uploading 3 files", variant = LumenTextVariant.Label)
}

Reference

Public API

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

APIValues or typeDefaultDescription
scrollStateLumenNavigationBarScrollState?nullCoordinates entry and exit with scroll-responsive navigation.
content@Composable () -> UnitRequiredProvides compact status or independently accessible actions.

Native behavior

Design and accessibility

When to use it

Place directly above LumenNavigationBar for one compact activity such as playback, upload, recording, or an active call. Keep domain state and actions application-owned.

Accessibility

Application-owned content retains its native semantics and exits the layout together with hidden bottom navigation.

Android docsCompose module