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.
Place compact application status or actions above Material bottom navigation.
Native example
Place directly above LumenNavigationBar for one compact activity such as playback, upload, recording, or an active call. Keep domain state and actions application-owned.
LumenNavigationBarAccessory(scrollState = navigationScrollState) {
LumenText("Uploading 3 files", variant = LumenTextVariant.Label)
}Reference
The primary shared and platform-specific options exposed by LumenNavigationBarAccessory.
| API | Values or type | Default | Description |
|---|---|---|---|
| scrollState | LumenNavigationBarScrollState? | null | Coordinates entry and exit with scroll-responsive navigation. |
| content | @Composable () -> Unit | Required | Provides compact status or independently accessible actions. |
Native behavior
Place directly above LumenNavigationBar for one compact activity such as playback, upload, recording, or an active call. Keep domain state and actions application-owned.
Application-owned content retains its native semantics and exits the layout together with hidden bottom navigation.