Docs
Navigation BarsPro

Scope HeaderNew

A feed header: the title, scopes as text tabs with a sliding underline, filter chips that scroll, and a Filters button with its count.

$npx swiftpieces add ScopeHeader

Needs a SwiftPieces Pro license: npx swiftpieces login first.

Open in the Pro library View pricing Live preview in every Pro style, and its source with SwiftPieces Pro.
ProPattern · Navigation BarsiOS 17+Themed by Pro's design system
Type
ScopeHeader
Inside
Sliding scope tabs, Filter chips, Filters count, Pinned header
Install, with a Pro license
npx swiftpieces add ScopeHeader
Depends on
Pro's Design System, which installs with it

The header of a feed. Scopes such as For you, Following and Saved sit as text tabs with an underline that slides to the one you pick, and filter chips scroll sideways beside a Filters button that counts what is on. It pins over the feed as a section header and shows a hairline once it is stuck.

Its SwiftUI source comes with SwiftPieces Pro: Scope Header in the Pro library.

All patterns →
SwiftPiecesPro

Build the whole app with one library.

Production-ready screens, whole flows, complete app templates, a Build Kit your agent follows and Pro remixing.

54 screens · 46 patterns · 48 flows · 12 templates · 31 Build Kit skills

Explore Pro