When to use it
Use above a native section or collection. Keep actions compact and directly related to the section.
Identify a native section with optional supporting copy, count, and trailing actions.
Native example
Use above a native section or collection. Keep actions compact and directly related to the section.
LumenSectionHeader(
title = "Workspaces",
subtitle = "Recently used",
count = "4"
)Reference
The primary shared and platform-specific options exposed by LumenSectionHeader.
| API | Values or type | Default | Description |
|---|---|---|---|
| title | String | Required | Names the section. |
| subtitle | String? | null | Adds supporting context. |
| count | String? | null | Shows an optional count badge. |
| actions | (@Composable () -> Unit)? | null | Provides trailing section actions. |
Native behavior
Use above a native section or collection. Keep actions compact and directly related to the section.
The section identity, optional count, and actions remain a contained group while actions preserve their own labels.
Shared component