Patterns · Pages
Sign up
SignUpPage
Name, email and a password with a strength meter said in words, an optional phone number and the terms. Fields are checked on blur and on submit, with a summary of every problem.
Web
Live, at a real viewport width. Switch to Phone to see the responsive layout.
Usage
import { SignUpPage } from '@nexub/patterns';
<SignUpPage
logo={<Logo product="Payub" />}
termsLabel={<>I agree to the <Link href="/terms">Terms</Link></>}
phone
social={<Button variant="outlined" fullWidth>Continue with a passkey</Button>}
onSubmit={({ name, email, password, phone }) => signUp({ name, email, password, phone })}
onSignIn={() => router.push('/sign-in')}
error={error}
/>On iOS & Android
This template has no native twin yet. On mobile, compose it from the @nexub/react-native components listed on the React Native page.