Docs
AuthPro

Sign InNew

The sign-in section of a welcome screen: email and password, Sign in with Apple, a passkey and Create account in one block.

$npx swiftpieces add SignInBlock

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 · AuthiOS 17+Themed by Pro's design system
Type
SignInBlock
Inside
Email and password with autofill, Sign in with its working, done and failed states, Sign in with Apple and a passkey, Forgot password and create account
Install, with a Pro license
npx swiftpieces add SignInBlock
Depends on
Pro's Design System, which installs with it

Email and password on one card, checked on submit and then live, with Sign in running your closure through working, done and failed. Forgot password confirms inline, Sign in with Apple is the system button in the colour of the appearance, and a link at the foot switches to Create account with password rules that tick off.

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