Section Heading

The heading of a page's section, over a row of cards, that can open the whole collection.

import { SectionHeading } from "@plexui/react-native"

Examples

Overview

Platforms

iOS 26Android
Native componentNone: a section's header in Music and the App Store (Title 2 bold with a chevron)None: a section's header in Google Play (Title Large with an arrow)
LookTitle 2 bold, a chevron after the words that opens the collectionTitle Large, an arrow at the end

API

PropTypeDefaultDescription
childrenReactNode—The section's title, in the heading's type; a React Native Text in it may set its own face or weight
onPress() => void—Opens the whole collection: the heading is a button, with a chevron after the title on iOS and an arrow at its end on Android
chevronbooleantrue with onPressShows the chevron (the arrow on Android)
trailingReactNode—Something at the heading's end, such as a See All button
firstbooleanfalseThe heading starts the page: no room over it
contentInsets{ before?: number; after?: number }{ before: 0, after: 0 }The room the content around the heading keeps inside its own frame, taken off the heading's space so the 32 over it and the 12 under it run to what shows: before, the room under the last of the section above (a List row's 8 under its picture); after, the room over what the content under it shows (a strip's over its circles)
accessibilityLabelstring—The button's name for screen readers; the title by default
testIDstring—Test id
styleStyleProp<ViewStyle>—Style of the heading