<SignUp />

A component that renders a sign-up page with various customization options.

SignUp

For more information, please refer to the custom pages guide.

Props

PropTypeDefaultDescription
fullPageoptional
booleanfalseIf true, renders the sign-up page in full-page mode.
automaticRedirectoptional
booleanfalseIf true, redirect to afterSignIn/afterSignUp URL when user is already signed in without showing the 'You are signed in' message.
noPasswordRepeatoptional
booleanfalseIf true, removes the password confirmation field.
extraInfooptional
React.ReactNodeAdditional information to display on the sign-up page.
firstTaboptional
'magic-link' | 'password'Determines which tab is initially active. Defaults to 'magic-link' if not specified.

Example

import { SignUp } from '@stackframe/stack';

export default function Page() {
  return (
    <div>
      <h1>Sign Up</h1>
      <SignUp
        fullPage={true}
        automaticRedirect={true}
        firstTab='password'
        extraInfo={<>By signing up, you agree to our <a href="/terms">Terms</a></>}
      />
    </div>
  );
}

Table of Contents

Navigate this page

On this page

Stack Auth AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details.

For the most accurate information, please join our Discord or email us.

How can I help?

Ask me about Stack Auth while you browse the docs.