<CredentialSignUp />

A component that renders a sign-up form with email and password fields.

CredentialSignUp

Note that if credential sign-up is disabled in the dashboard, this component will still render. However, attempting to use it will result in an error being thrown.

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

Props

  • noPasswordRepeat (optional): boolean - If set to true, the form will not include a password repeat field.

Example

1import { CredentialSignUp } from '@stackframe/stack';
2
3export default function Page() {
4 return (
5 <div>
6 <h1>Sign Up</h1>
7 <CredentialSignUp noPasswordRepeat />
8 </div>
9 );
10}