Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
React Native docs
LayoutReact Native

Section header

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

Public APILumenSectionHeaderReact Native

Native example

Use Section header

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

View verified React Native runtime capture
Section header rendered in the Expo web renderer Lumen playground
Verified runtime captureExpo web renderer
tsx
<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.
subtitlestringundefinedAdds supporting context.
countstringundefinedShows an optional count badge.
actionsReactNodeundefinedProvides 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

Apple / SwiftUIAndroid / Compose
React Native docsNative primitives