Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
FeedbackAndroid

Status bar

Present compact textual application status with optional trailing content.

Public APILumenStatusBarAndroid / Compose

Native example

Use Status bar

Use for compact persistent application status. Do not replace system status bars or navigation chrome.

Status bar rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenStatusBar(
    message = "All changes saved",
    tone = LumenMetricTone.Success
)

Reference

Public API

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

APIValues or typeDefaultDescription
messageStringRequiredProvides the textual status.
toneneutral · brand · accent · success · warning · dangerneutralSelects the semantic dot color.
trailing(@Composable () -> Unit)?nullProvides optional trailing content.

Native behavior

Design and accessibility

When to use it

Use for compact persistent application status. Do not replace system status bars or navigation chrome.

Accessibility

The visible status dot is decorative; the message carries status meaning in text. Trailing controls retain independent semantics.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module