The <SignUp /> component renders a UI for signing up users. The functionality of the <SignUp /> component is controlled by the instance settings you specify in your Clerk Dashboard, such as sign-in and sign-up options and social connections. You can further customize your <SignUp /> component by passing additional properties at the time of rendering.
Note
The <SignUp/> and <SignIn/> components cannot render when a user is already signed in, unless the application allows multiple sessions. If a user is already signed in and the application only allows a single session, Clerk will redirect the user to the Home URL instead.
The routing strategy for your pages. Note: If you are using environment variables for Next.js or Remix to specify your routes, such as NEXT_PUBLIC_CLERK_SIGN_IN_URL, this will be set to path.
Name
path
Type
string
Description
The path where the component is mounted on when path-based routing is used For example: /sign-up. This prop is ignored in hash- and virtual-based routing.
Name
redirectUrl
Type
string
Description
Full URL or path to navigate to after successful sign in or sign up. The same as setting afterSignInUrl and afterSignUpUrl to the same value.
Name
afterSignInUrl
Type
string
Description
The full URL or path to navigate to after a successful sign in.
Name
signInUrl
Type
string
Description
Full URL or path to the sign in page. Use this property to provide the target of the 'Sign In' link that's rendered.
Name
afterSignUpUrl
Type
string
Description
The full URL or path to navigate to after a successful sign up.
Name
unsafeMetadata
Type
object
Description
An object with the key and value for unsafeMetadata that will be saved to the user after sign up. For example: { "company": "companyID1234" }