Docs
SocialPro

Invite FriendsNew

A referral section: what both people get, a track that fills as friends join, the invite code to copy or share, and who you invited.

$npx swiftpieces add InviteFriendsBlock

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.
ProBlock · SocialiOS 17+Themed by Pro's design system
Type
InviteFriendsBlock
Inside
Reward and a track that fills per friend, Invite code you copy, Share invite, Invited friends with their status
Install, with a Pro license
npx swiftpieces add InviteFriendsBlock
Depends on
Pro's Design System, which installs with it

The referral section of an account or rewards screen. One card states the reward, fills a seat on a quiet track for each friend who joins, copies the invite code with one tap and opens the system share sheet. Invited friends list below with a status chip, and pending invites can be reminded.

Its SwiftUI source comes with SwiftPieces Pro: Invite Friends in the Pro library.

All blocks →
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 · 6 blocks · 48 flows · 12 templates · 31 Build Kit skills

Explore Pro