Docs
Auth and OnboardingPro

Email Link Sign InNew

Passwordless sign-in by email: send a link, check your inbox with Open Mail and a Resend countdown, or enter a code instead.

$npx swiftpieces add MagicLinkSignIn

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 · Auth and OnboardingiOS 17+Themed by Pro's design system
Type
MagicLinkSignIn
Inside
Email with AutoFill, Check your inbox, Resend countdown, Optional code
Install, with a Pro license
npx swiftpieces add MagicLinkSignIn
Depends on
Pro's Design System, which installs with it

An email field that checks itself and Continue with email, which runs your closure through working, done and failed. The card then turns to Check your inbox with the address, Open Mail and Resend on a countdown, plus an optional six-digit code that fills from AutoFill and submits itself. Links that open your app sign the person in through onLink.

Its SwiftUI source comes with SwiftPieces Pro: Email Link Sign In 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