Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
LayoutAndroid

Section header

Identify a native section with optional supporting copy, count, and trailing actions.

Public APILumenSectionHeaderAndroid / Compose

Native example

Use Section header

Use above a native section or collection. Keep actions compact and directly related to the section.

Section header rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
LumenSectionHeader(
    title = "Workspaces",
    subtitle = "Recently used",
    count = "4"
)

Reference

Public API

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

APIValues or typeDefaultDescription
titleStringRequiredNames the section.
subtitleString?nullAdds supporting context.
countString?nullShows an optional count badge.
actions(@Composable () -> Unit)?nullProvides trailing section actions.

Native behavior

Design and accessibility

When to use it

Use above a native section or collection. Keep actions compact and directly related to the section.

Accessibility

The section identity, optional count, and actions remain a contained group while actions preserve their own labels.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module