Skip to content
nexubDesign System
v11.9.0

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

TSX
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}
/>