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.
Pro block · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro block installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- 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.