UI図鑑
Data Display · 04 · 表示

Sticky Section Header

固定セクションヘッダー

sticky_header デモ
Sticky Section Header のデモ

ほかの呼び名

Pinned HeaderSection HeaderGroup HeaderSticky Header
Material 3
該当なし(List の section header。固定は規定なし)
Material 2
Subheader(Lists)
Android (Compose)
LazyColumn stickyHeader
iOS (HIG)
Lists and tables(section header)
SwiftUI
Section(header:) / LazyVStack(pinnedViews: [.sectionHeaders])
Web
position: sticky
Flutter
SliverPersistentHeader(pinned: true) / sticky_headers パッケージ

概要

リストのグループ見出しが、そのグループが画面内にある間、上端に固定される。次の見出しが来ると押し上げられる。

使いどころ

日付ごと・頭文字ごとにグループ化された長いリスト。

関連

シーン