<SignUp> renders a link that initiates the MonoCloud sign-up flow.
<SignUp>
It works in both App Router and Pages Router, and may be rendered from either Server or Client Components.
Internally, it behaves like <SignIn> but sets prompt=create to start the registration flow.
<SignIn>
prompt=create
Properties for the SignUp component.
An anchor element that links to the sign-in endpoint with the prompt set to 'create'.
import { SignUp } from "@monocloud/auth-nextjs/components";export default function Home() { return <SignUp>Sign Up</SignUp>;} Copy
import { SignUp } from "@monocloud/auth-nextjs/components";export default function Home() { return <SignUp>Sign Up</SignUp>;}
You can customize the authorization request by passing in props.
import { SignUp } from "@monocloud/auth-nextjs/components";export default function Home() { return ( <SignUp returnUrl="/dashboard" uiLocales="en" > Sign Up </SignUp> );} Copy
import { SignUp } from "@monocloud/auth-nextjs/components";export default function Home() { return ( <SignUp returnUrl="/dashboard" uiLocales="en" > Sign Up </SignUp> );}
<SignUp>renders a link that initiates the MonoCloud sign-up flow.It works in both App Router and Pages Router, and may be rendered from either Server or Client Components.
Internally, it behaves like
<SignIn>but setsprompt=createto start the registration flow.