Docs
Navigation BarsPro

Greeting HeaderNew

The top of a home tab: the date, a bell with its unread count, the avatar, a greeting by time of day and search, folding into a compact bar.

$npx swiftpieces add GreetingHeader

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
GreetingHeader
Inside
Time-of-day greeting, Unread badge, Avatar with initials, Folds on scroll
Install, with a Pro license
npx swiftpieces add GreetingHeader
Depends on
Pro's Design System, which installs with it

A home tab's header in place of a plain large title. Today's date, the notifications bell with an unread badge and the avatar sit on one row over a greeting for the time of day and a search field. As content scrolls the greeting and search fold away into a compact bar, driven by the scroll offset on iOS 18 or by any value you pass.

Its SwiftUI source comes with SwiftPieces Pro: Greeting 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