Skip to content

Android components Navigation

StanceTopAppBar

Beta

The bar at the top of a screen with a title, navigation and actions.

  • PlatformAndroid, Jetpack Compose
  • Builds onTopAppBar
  • Kindcomposable

Preview

Rendered by the Jetpack Compose library, not drawn by hand.

StanceTopAppBar on AndroidStanceTopAppBar on AndroidStanceTopAppBar on Android
StanceTopAppBar, Light appearance
Light
StanceTopAppBar, Dark appearance
Dark
StanceTopAppBar, High contrast appearance
High contrast

Usage

kotlin
StanceTopAppBar("Signature templates", onNavigateUp = {}) {
    StanceIconButton(StanceIcons.Search, contentDescription = "Search", onClick = {})
}

Accessibility

  • The title is a heading.
  • The back button has an accessible name.