Back to components
Auth component
Register Screen
Registration screen with name, email, password fields, zod validation, and social sign-up options.
Install
What it does
- Full name, email, password, confirm password fields
- zod schema validation with password strength rules
- Password visibility toggles
- Social sign-up buttons
- Login navigation link
- Safe-area-aware with KeyboardAvoidingView
When to use
Use it
User registration, sign-up flows, account creation screens.
Skip it
Admin user creation (use a form with additional role fields).
Prerequisites
- Expo Router
- react-hook-form
- zod
- @hookform/resolvers
Files & routes added
- components/auth/register-screen.tsx