[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect \[Clerk components]\[components-ref] and not \[Account Portal]\[ap-ref] pages.
+
+ ---
+
+ - `localization`
+ - [Localization](/docs/guides/customizing-clerk/localization) | undefined
+
+ Optional object to localize your components. Will only affect \[Clerk components]\[components-ref] and not \[Account Portal]\[ap-ref] pages.
+
+ ---
+
+ - `routerPush?`
+ - `(to: string) => Promise((client: \[Client]\[client-ref]) => Session | null) | undefined
+
+ An optional function which allows you to control which active session is the initial session to base a user's state off of. Defaults to the first session in the client's sessions array.
+
+ ---
+
+ - `standardBrowser`
+ - `boolean | undefined`
+
+ Controls if ClerkJS will load with the standard browser set up using Clerk cookies. Defaults to `true`.
+
+ ---
+
+ - `supportEmail`
+ - `string | undefined`
+
+ Optional support email for display in authentication screens.
+
+ ---
+
+ - `touchSession`
+ - `boolean | undefined`
+
+ Indicates whether the session should be "touched" when user interactions occur, used to record these interactions. Defaults to `true`.
+
+ ---
+
+ - `signInUrl`
+ - `string | undefined`
+
+ The default URL to use to direct to when the user signs in. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signUpUrl`
+ - `string | undefined`
+
+ The default URL to use to direct to when the user signs up. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signInForceRedirectUrl?`
+ - `string`
+
+ If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signUpForceRedirectUrl?`
+ - `string`
+
+ If provided, this URL will always be redirected to after the user signs up. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signInFallbackRedirectUrl?`
+ - `string`
+
+ The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signUpFallbackRedirectUrl?`
+ - `string`
+
+ The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `afterSignOutUrl?`
+ - `string`
+
+ The full URL or path to navigate to after a successful sign-out.
+
+ ---
+
+ - `allowedRedirectOrigins?`
+ - `Array[SignInResource](/docs/reference/javascript/sign-in) | [SignUpResource](/docs/reference/javascript/sign-up)
+
+ The `SignIn` or `SignUp` object returned from `authenticateWithGoogleOneTap()`.
+
+ ---
+
+ - `params`
+ - [`HandleOAuthCallbackParams`](/docs/reference/javascript/clerk#handle-o-auth-callback-params)
+
+ An object containing redirect URLs. Useful if you want to set URLs specific to Google One Tap. Otherwise, consider using [environment variables](/docs/guides/development/clerk-environment-variables) to set redirect URLs.
+
+ ---
-See [`authenticateWithGoogleOneTap()` usage](#authenticate-with-google-one-tap-usage) for an example of how to use `handleGoogleOneTapCallback()`.
+ - `customNavigate?`
+ - `(to: string) => Promise[SignInResource](/docs/reference/javascript/sign-in) | [SignUpResource](/docs/reference/javascript/sign-up)
+ - `cancelOnTapOutside?`
+ - `boolean`
- The `SignIn` or `SignUp` object returned from `authenticateWithGoogleOneTap()`.
+ If `true`, the One Tap prompt closes automatically if the user clicks outside of the prompt. Defaults to `true`.
---
- - `params`
- - [`HandleOAuthCallbackParams`](/docs/reference/javascript/clerk#handle-o-auth-callback-params)
+ - `itpSupport?`
+ - `boolean`
- An object containing redirect URLs. Useful if you want to set URLs specific to Google One Tap. Otherwise, consider using [environment variables](/docs/guides/development/clerk-environment-variables) to set redirect URLs.
+ If `true`, enables the [ITP-specific UX](https://developers.google.com/identity/gsi/web/guides/itp) when One Tap is rendered on ITP browsers such as Chrome on iOS, Safari, and FireFox. Defaults to `true`.
---
- - `customNavigate?`
- - `(to: string) => Promise[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `fallback`
- - `ReactNode`
-
- An optional element to be rendered while the component is mounting.
-
- ---
-
- - `fallbackRedirectUrl`
- - `string`
-
- The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
-
- ---
-
- - `forceRedirectUrl`
- - `string`
-
- If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
-
- ---
-
- - `initialValues`
- - [`SignInInitialValues`](/docs/reference/javascript/types/sign-in-initial-values)
-
- The values used to prefill the sign-in fields with.
-
- ---
-
- - `oauthFlow`
- - `"redirect" | "popup" | "auto"`
-
- Determines how OAuth authentication is performed. Accepts the following properties:
-
- - `"redirect"`: Redirect to the OAuth provider on the current page.
- - `"popup"`: Open a popup window.
- - `"auto"`: Choose the best method based on whether the current domain typically requires the `"popup"` flow to correctly perform authentication.
-
- Defaults to `"auto"`.
-
- ---
-
- - `path`
- - `string`
-
- The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-in`.
-
- ---
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `fallback`
+ - `ReactNode`
+
+ An optional element to be rendered while the component is mounting.
+
+ ---
+
+ - `fallbackRedirectUrl`
+ - `string`
+
+ The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `forceRedirectUrl`
+ - `string`
+
+ If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `initialValues`
+ - [`SignInInitialValues`](/docs/reference/javascript/types/sign-in-initial-values)
+
+ The values used to prefill the sign-in fields with.
+
+ ---
+
+ - `oauthFlow`
+ - `"redirect" | "popup" | "auto"`
+
+ Determines how OAuth authentication is performed. Accepts the following properties:
+
+ - `"redirect"`: Redirect to the OAuth provider on the current page.
+ - `"popup"`: Open a popup window.
+ - `"auto"`: Choose the best method based on whether the current domain typically requires the `"popup"` flow to correctly perform authentication.
+
+ Defaults to `"auto"`.
+
+ ---
+
+ - `path`
+ - `string`
+
+ The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-in`.
+
+ ---
+
+ - `routing`
+ - `'hash' | 'path'`
+
+ The [routing](/docs/guides/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
+
+ ---
+
+ - `signUpFallbackRedirectUrl`
+ - `string`
+
+ The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Used for the 'Don't have an account? Sign up' link that's rendered. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signUpForceRedirectUrl`
+ - `string`
+
+ If provided, this URL will always used as the redirect destination after the user signs up. Used for the 'Don't have an account? Sign up' link that's rendered. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signUpUrl`
+ - `string`
+
+ The full URL or path to the sign-up page. Used for the 'Don't have an account? Sign up' link that's rendered. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `transferable`
+ - `boolean`
+
+ Indicates whether or not sign in attempts are transferable to the sign up flow. Defaults to `true`. When set to `false`, prevents opaque sign ups when a user attempts to sign in via OAuth with an email that doesn't exist.
+
+ ---
+
+ - `waitlistUrl`
+ - `string`
+
+ Full URL or path to the waitlist page. Use this property to provide the target of the 'Waitlist' link that's rendered. If `undefined`, will redirect to the [Account Portal waitlist page](/docs/guides/customizing-clerk/account-portal#waitlist). If you've passed the `waitlistUrl` prop to the [`[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `fallback`
- - `ReactNode`
-
- An optional element to be rendered while the component is mounting.
-
- ---
-
- - `fallbackRedirectUrl`
- - `string`
-
- The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
-
- ---
-
- - `forceRedirectUrl`
- - `string`
-
- If provided, this URL will always be used as the redirect destination after the user signs up. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
-
- ---
-
- - `initialValues`
- - [`SignUpInitialValues`](/docs/reference/javascript/types/sign-up-initial-values)
-
- The values used to prefill the sign-up fields with.
-
- ---
-
- - `oauthFlow`
- - `"redirect" | "popup" | "auto"`
-
- Determines how OAuth authentication is performed. Accepts the following properties:
-
- - `"redirect"`: Redirect to the OAuth provider on the current page.
- - `"popup"`: Open a popup window.
- - `"auto"`: Choose the best method based on whether the current domain typically requires the `"popup"` flow to correctly perform authentication.
-
- Defaults to `"auto"`.
-
- ---
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `fallback`
+ - `ReactNode`
+
+ An optional element to be rendered while the component is mounting.
+
+ ---
+
+ - `fallbackRedirectUrl`
+ - `string`
+
+ The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `forceRedirectUrl`
+ - `string`
+
+ If provided, this URL will always be used as the redirect destination after the user signs up. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `initialValues`
+ - [`SignUpInitialValues`](/docs/reference/javascript/types/sign-up-initial-values)
+
+ The values used to prefill the sign-up fields with.
+
+ ---
+
+ - `oauthFlow`
+ - `"redirect" | "popup" | "auto"`
+
+ Determines how OAuth authentication is performed. Accepts the following properties:
+
+ - `"redirect"`: Redirect to the OAuth provider on the current page.
+ - `"popup"`: Open a popup window.
+ - `"auto"`: Choose the best method based on whether the current domain typically requires the `"popup"` flow to correctly perform authentication.
+
+ Defaults to `"auto"`.
+
+ ---
+
+ - `path`
+ - `string`
+
+ The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-up`.
+
+ ---
+
+ - `routing`
+ - `'hash' | 'path'`
+
+ The [routing](/docs/guides/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
+
+ ---
+
+ - `signInFallbackRedirectUrl`
+ - `string`
+
+ The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Used for the 'Already have an account? Sign in' link that's rendered. Defaults to `/`. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signInForceRedirectUrl?`
+ - `string`
+
+ If provided, this URL will always be redirected to after the user signs in. Used for the 'Already have an account? Sign in' link that's rendered. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `signInUrl`
+ - `string`
+
+ The full URL or path to the sign-in page. Used for the 'Already have an account? Sign in' link that's rendered. It's recommended to use [the environment variable](/docs/guides/development/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
+
+ ---
+
+ - `unsafeMetadata`
+ - [`SignUpUnsafeMetadata`](/docs/reference/javascript/types/metadata#sign-up-unsafe-metadata)
+
+ Metadata that can be read and set from the frontend and the backend. Once the sign-up is complete, the value of this field will be automatically copied to the created user's unsafe metadata (`User.unsafeMetadata`). One common use case is to collect custom information about the user during the sign-up process and store it in this property. Read more about [unsafe metadata](/docs/guides/users/extending#unsafe-metadata).
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+[CommercePlanResource](/docs/reference/javascript/types/commerce-plan-resource)
-
- The plan to display details for. It is used as initial data until the plan is fetched from the server.
-
- ---
-
- - `children?`
- - `React.ReactNode`
-
- Optional custom button element. If not provided, defaults to a button with the text "Plan details".
-
- ---
-
- - `initialPlanPeriod?`
- - `'month' | 'annual'`
-
- Optional prop to set the initial billing period view when the plan details drawer opens.
-
- ---
-
- - `planDetailsProps?`
- - `{ appearance: Appearance }`
-
- Options for the plan details drawer. Accepts the following properties:
-
- - [`appearance`](/docs/guides/customizing-clerk/appearance-prop/overview): an object used to style your components. For example: `[CommercePlanResource](/docs/reference/javascript/types/commerce-plan-resource)
+
+ The plan to display details for. It is used as initial data until the plan is fetched from the server.
+
+ ---
+
+ - `children?`
+ - `React.ReactNode`
+
+ Optional custom button element. If not provided, defaults to a button with the text "Plan details".
+
+ ---
+
+ - `initialPlanPeriod?`
+ - `'month' | 'annual'`
+
+ Optional prop to set the initial billing period view when the plan details drawer opens.
+
+ ---
+
+ - `planDetailsProps?`
+ - `{ appearance: Appearance }`
+
+ Options for the plan details drawer. Accepts the following properties:
+
+ - [`appearance`](/docs/guides/customizing-clerk/appearance-prop/overview): an object used to style your components. For example: `[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `checkoutProps`
- - `{ appearance: Appearance }`
-
- Options for the checkout drawer. Accepts the following properties:
-
- - [`appearance`](/docs/guides/customizing-clerk/appearance-prop/overview): an object used to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `checkoutProps`
+ - `{ appearance: Appearance }`
+
+ Options for the checkout drawer. Accepts the following properties:
+
+ - [`appearance`](/docs/guides/customizing-clerk/appearance-prop/overview): an object used to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `collapseFeatures`
+ - `boolean`
+
+ A boolean that indicates whether the features are collapsed. **Requires `layout` to be set to `'default'`**. Defaults to `false`.
+
+ ---
+
+ - `ctaPosition`
+ - `'top' | 'bottom'`
+
+ The placement of the CTA button. **Requires `layout` to be set to `'default'`**. Defaults to `'bottom'`.
+
+ ---
+
+ - `fallback`
+ - `JSX`
+
+ An optional UI to show when the pricing table is loading.
+
+ ---
+
+ - `forOrganizations`
+ - `boolean`
+
+ A boolean that indicates whether the pricing table is for [organizations](/docs/guides/organizations/overview). If `false`, the pricing table will display a list of plans and features that **users** can subscribe to. If `true`, the pricing table will display a list of plans and features that **organizations** can subscribe to. Defaults to `false`.
+
+ ---
+
+ - `newSubscriptionRedirectUrl`
+ - `string`
+
+ The URL to navigate to after the user completes the checkout and selects the "Continue" button.
+Clerk has loaded
-Clerk has loaded
-Clerk has loaded
+Clerk has loaded
+Clerk has loaded
+Clerk has loaded
+Clerk has loaded
+Clerk has loaded
+Clerk has loaded
+Clerk is loading...
-Clerk has loaded
-Clerk is loading
-Clerk has loaded
-Clerk is loading
+Clerk is loading...
Clerk has loaded
@@ -84,19 +28,11 @@ It's not recommended to wrap the entire app in the `Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Clerk is loading
+Clerk has loaded
+Users that are signed-in can see this.
+Users that are signed-in can see this.
+Users that are signed-out can see this.
+Users that are signed-in can see this.
+Users that are signed-in can see this.
+Users that are signed-in can see this.
+Users that are signed-in can see this.
+Users that are signed-in can see this.
+Users that are signed-out can see this.
+ +Users that are signed-in can see this.
+Users that are signed-in can see this.
-Users that are signed-in can see this.
-Users that are signed-out can see this.
+ +Users that are signed-out can see this.
+Users that are signed-in can see this.
Users that are signed-in can see this.
-Users that are signed-in can see this.
-Users that are signed-out can see this.
- -Users that are signed-in can see this.
-Users with permission org:invoices:create can see this.
-Users with permission org:invoices:create can see this.
-Users with permission org:invoices:create can see this.
+Users with permission org:invoices:create can see this.
+You do not have the permissions to create an invoice.
+Users with permission org:invoices:create can see this.
+Users with permission org:invoices:create can see this.
+Users with permission org:invoices:create can see this.
+Users with permission org:invoices:create can see this.
+Users with permission org:invoices:create can see this.
+You do not have the permissions to create an invoice.
+ +Users with permission org:invoices:create can see this.
+You do not have the permissions to create an invoice.
+ +You do not have the permissions to create an invoice.
+Users with permission org:invoices:create can see this.
Users with permission org:invoices:create can see this.
-Users with permission org:invoices:create can see this.
-You do not have the permissions to create an invoice.
- -Users with permission org:invoices:create can see this.
-Users with role org:billing can see this.
-Users with role org:billing can see this.
-Users with role org:billing can see this.
+Users with role org:billing can see this.
+Only a member of the Billing department can access this content.
+Users with role org:billing can see this.
+Users with role org:billing can see this.
+Users with role org:billing can see this.
+Users with role org:billing can see this.
+Users with role org:billing can see this.
+Only a member of the Billing department can access this content.
+ +Only a member of the Billing department can access this content.
+Users with role org:billing can see this.
Users with role org:billing can see this.
-Users with role org:billing can see this.
-Only a member of the Billing department can access this content.
- -Users with role org:billing can see this.
-Only a member of the Billing department can access this content.
+ +Users with role org:billing can see this.
+Welcome, Bronze subscriber!
-Welcome, Bronze subscriber!
-Welcome, Bronze subscriber!
+Welcome, Bronze subscriber!
+Sorry, only subscribers to the Bronze plan can access this content.
+Welcome, Bronze subscriber!
+Welcome, Bronze subscriber!
+Welcome, Bronze subscriber!
+Welcome, Bronze subscriber!
+Welcome, Bronze subscriber!
+Sorry, only subscribers to the Bronze plan can access this content.
+ +Welcome, Bronze subscriber!
+Sorry, only subscribers to the Bronze plan can access this content.
+ +Sorry, only subscribers to the Bronze plan can access this content.
+Welcome, Bronze subscriber!
Welcome, Bronze subscriber!
-Welcome, Bronze subscriber!
-Congratulations! You have access to the Premium Access feature.
-Congratulations! You have access to the Premium Access feature.
-Congratulations! You have access to the Premium Access feature.
+Congratulations! You have access to the Premium Access feature.
++ Sorry, only subscribers with the Premium Access feature can access this content. +
+Congratulations! You have access to the Premium Access feature.
+Congratulations! You have access to the Premium Access feature.
+Congratulations! You have access to the Premium Access feature.
+Congratulations! You have access to the Premium Access feature.
+Congratulations! You have access to the Premium Access feature.
+Sorry, only subscribers with the Premium Access feature can access this content.
+ +Congratulations! You have access to the Premium Access feature.
+- Sorry, only subscribers with the Premium Access feature can access this content. -
+ +Sorry, only subscribers with the Premium Access feature can access this content.
+Congratulations! You have access to the Premium Access feature.
Congratulations! You have access to the Premium Access feature.
-Congratulations! You have access to the Premium Access feature.
-Only an Admin or Billing Manager can access this content.
} - > -The settings page.
-Only an Admin or Billing Manager can access this content.
} - > -The settings page.
-Only an Admin or Billing Manager can access this content.
-The settings page.
-Only an Admin or Billing Manager can access this content.
} - > -The settings page.
-Only an Admin or Billing Manager can access this content.
} - > -The settings page.
-Only an Admin or Billing Manager can access this content.
- +Only an Admin or Billing Manager can access this content.
} + > +The settings page.
+Only an Admin or Billing Manager can access this content.
} + > +The settings page.
+Only an Admin or Billing Manager can access this content.
+The settings page.
+Only an Admin or Billing Manager can access this content.
} + > +The settings page.
+Only an Admin or Billing Manager can access this content.
} + > +The settings page.
+Only an Admin or Billing Manager can access this content.
} + > +The settings page.
+Only an Admin or Billing Manager can access this content.
} + >The settings page.
Only an Admin or Billing Manager can access this content.
+ +The settings page.
+Only an Admin or Billing Manager can access this content.
+ +The settings page.
+You need to sign in to create an organization.
-You need to sign in to create an organization.
+You need to sign in to create an organization.
+You need to sign in to create an organization.
+You need to sign in to create an organization.
+You need to sign in to view your organization profile.
-You need to sign in to view your organization profile.
+You need to sign in to view your organization profile.
+You need to sign in to view your organization profile.
+You need to sign in to view your organization profile.
+You need to sign in to view your user profile.
-You need to sign in to view your user profile.
-You need to sign in to view your user profile.
-You need to sign in to view your user profile.
+You need to sign in to view your user profile.
+You need to sign in to view your user profile.
+You need to sign in to view your user profile.
+You need to sign in to view your user profile.
+You need to sign in to view your user profile.
+You need to sign in to view your user profile.
+This content is always visible.
+ > + ) + } + ``` +This content is always visible.
+ > + ) + } + ``` +This content is always visible.
+ > + ) + } + ``` +This content is always visible.
+ ``` +You are signed in.
+This content is always visible.
+ > + ) + } + ``` +You are signed in.
+This content is always visible.
+You are signed in.
+This content is always visible.
+This content is always visible.
+ + ``` +This content is always visible.
+ + ``` +This content is always visible.
-This content is always visible.
-This content is always visible.
-This content is always visible.
- ``` -You are signed in
-Always visible
-You are signed in
-Always visible
-This content is always visible.
- - ``` -This content is always visible.
+ > + ) + } + ``` +You are signed out.
+This content is always visible.
+ > + ) + } + ``` +You are signed out.
+This content is always visible.
+ > + ) + } + ``` +This content is always visible.
+ ``` +You are signed out.
+This content is always visible.
+ > + ) + } + ``` +You are signed out.
+This content is always visible.
+You are signed out.
+This content is always visible.
+This content is always visible.
+ + ``` +This content is always visible.
+ + ``` +You are signed out.
-This content is always visible.
-You are signed out.
-This content is always visible.
-You are signed out.
-This content is always visible.
-You are signed out.
-This content is always visible.
- ``` -You are signed out.
-This content is always visible.
-You are signed out.
-This content is always visible.
-This content is always visible.
- - ``` -[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `afterCreateOrganizationUrl`
- - `string`
-
- Full URL or path to navigate to after creating a new organization.
-
- ---
-
- - `routing`
- - `'hash' | 'path'`
-
- The [routing](/docs/guides/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
-
- ---
-
- - `path`
- - `string`
-
- The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/create-organization`.
-
- ---
-
- - `skipInvitationScreen`
- - `boolean`
-
- Hides the screen for sending invitations after an organization is created. When left undefined, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
-
- ---
-
- - `hideSlug`
- - `boolean`
-
- Hides the optional slug field in the organization creation screen.
-
- ---
-
- - `fallback?`
- - `ReactNode`
-
- An optional element to be rendered while the component is mounting.
-mountCreate Organization()
+ ### mountCreate Organization()
-Render the `mountCreate Organization() params
+ ### mountCreate Organization() params
-unmountCreate Organization()
+ ### unmountCreate Organization()
-Unmount and run cleanup on an existing `[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-const clerk = new Clerk(clerkPubKey)
-await clerk.load()
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-document.getElementById('app').innerHTML = `
-
-`
+ ---
-const createOrgDiv = document.getElementById('create-organization')
+ - `afterCreateOrganizationUrl`
+ - `string`
-clerk.openCreateOrganization(createOrgDiv)
-```
+ Full URL or path to navigate to after creating a new organization.
+
+ ---
+
+ - `routing`
+ - `'hash' | 'path'`
+
+ The [routing](/docs/guides/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
-### `closeCreateOrganization()`
+ ---
-Closes the organization profile overlay.
+ - `path`
+ - `string`
-```typescript
-function closeCreateOrganization(): void
-```
+ The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/create-organization`.
-#### `closeCreateOrganization()` usage
+ ---
-```js {{ filename: 'main.js', mark: [19] }}
-import { Clerk } from '@clerk/clerk-js'
+ - `skipInvitationScreen`
+ - `boolean`
-// Initialize Clerk with your Clerk Publishable Key
-const clerkPubKey = import.meta.env.VITE_CLERK_PUBLISHABLE_KEY
+ Hides the screen for sending invitations after an organization is created. When left undefined, Clerk will automatically hide the screen if the number of max allowed members is equal to 1
-const clerk = new Clerk(clerkPubKey)
-await clerk.load()
+ ---
-document.getElementById('app').innerHTML = `
-
-`
+ - `hideSlug`
+ - `boolean`
-const createOrgDiv = document.getElementById('create-organization')
+ Hides the optional slug field in the organization creation screen.
-clerk.openCreateOrganization(createOrgDiv)
+ ---
-// ...
+ - `fallback?`
+ - `ReactNode`
-clerk.closeCreateOrganization(createOrgDiv)
-```
+ An optional element to be rendered while the component is mounting.
+((org: [Organization][org-ref]) => string) | string
-
- The full URL or path to navigate to after creating a new organization.
-
- ---
-
- - `afterSelectOrganizationUrl`
- - ((org: [Organization][org-ref]) => string) | string
-
- The full URL or path to navigate to after selecting an organization. Defaults to `undefined`.
-
- ---
-
- - `afterSelectPersonalUrl`
- - ((org: [Organization][org-ref]) => string) | string
-
- The full URL or path to navigate to after selecting the [personal account](/docs/guides/organizations/overview#allow-personal-accounts). Defaults to `undefined`.
-
- ---
-
- - `appearance`
- - [Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `fallback?`
- - `ReactNode`
-
- An optional element to be rendered while the component is mounting.
-
- ---
-
- - `hidePersonal`
- - `boolean`
-
- A boolean that controls whether `((org: [Organization][org-ref]) => string) | string
+
+ The full URL or path to navigate to after creating a new organization.
+
+ ---
+
+ - `afterSelectOrganizationUrl`
+ - ((org: [Organization][org-ref]) => string) | string
+
+ The full URL or path to navigate to after selecting an organization. Defaults to `undefined`.
+
+ ---
+
+ - `afterSelectPersonalUrl`
+ - ((org: [Organization][org-ref]) => string) | string
+
+ The full URL or path to navigate to after selecting the [personal account](/docs/guides/organizations/overview#allow-personal-accounts). Defaults to `undefined`.
+
+ ---
+
+ - `appearance`
+ - [Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `fallback?`
+ - `ReactNode`
+
+ An optional element to be rendered while the component is mounting.
+
+ ---
+
+ - `hidePersonal`
+ - `boolean`
+
+ A boolean that controls whether `[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `afterLeaveOrganizationUrl`
- - `string`
-
- The full URL or path to navigate to after leaving an organization.
-
- ---
-
- - `customPages`
- - `CustomPages[]`
-
- An array of custom pages to add to the organization profile. Only available for the [JavaScript SDK](/docs/reference/javascript/overview). To add custom pages with React-based SDK's, see the [dedicated guide](/docs/guides/customizing-clerk/adding-items/organization-profile).
-
- ---
-
- - `fallback?`
- - `ReactNode`
-
- An optional element to be rendered while the component is mounting.
+[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `afterLeaveOrganizationUrl`
+ - `string`
+
+ The full URL or path to navigate to after leaving an organization.
+
+ ---
+
+ - `customPages`
+ - `CustomPages[]`
+
+ An array of custom pages to add to the organization profile. Only available for the [JavaScript SDK](/docs/reference/javascript/overview). To add custom pages with React-based SDK's, see the [dedicated guide](/docs/guides/customizing-clerk/adding-items/organization-profile).
+
+ ---
+
+ - `fallback?`
+ - `ReactNode`
+
+ An optional element to be rendered while the component is mounting.
+
+ ---
+
+ - `path`
+ - `string`
+
+ The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
-
- Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
-
- ---
-
- - `createOrganizationMode`
- - `'modal' | 'navigation'`
-
- A boolean that controls whether clicking the "Create organization" button will cause the [`[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+
+ Optional object to style your components. Will only affect [Clerk components](/docs/reference/components/overview) and not [Account Portal](/docs/guides/customizing-clerk/account-portal) pages.
+
+ ---
+
+ - `createOrganizationMode`
+ - `'modal' | 'navigation'`
+
+ A boolean that controls whether clicking the "Create organization" button will cause the [`[Appearance](/docs/guides/customizing-clerk/appearance-prop/overview) | undefined
+ In the following example, `