Sign up

Creating an account in the sign-in card: name, work e-mail, a password you can reveal, and the terms.

Open full screen

Inset · No navigation. <AppShell direction="inset">, the default: the navigation on the grey app frame, the page a raised white card inside it, scrolling within.

npx wideset add block-sign-up

Import the default export from @/blocks/wideset/sign-up. The files below are relative to your project's source directory.

Installed with this block
  • block-styles
  • button
  • checkbox
  • form-field
  • text-input
  • utils
blocks/wideset/sign-up/index.tsx
'use client';

import '@/styles/wideset-blocks.css';

import { AuthCard } from './auth-card';
import { ROUTES } from './data';
import { SignUpForm } from './sign-up-form';

/** Sign up, Inset direction with no navigation: the sign-in card, creating an account instead. */
export default function SignUp() {
  return (
    <main className="ws-block-utility bg-ws-static-background p-ws-12 flex min-h-dvh items-center justify-center">
      <AuthCard
        other={{ href: ROUTES.signIn, label: 'Sign in' }}
        className="w-full max-w-[38.75rem]"
      >
        <SignUpForm />
      </AuthCard>
    </main>
  );
}