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.
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
- 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.