SignUpPage API
API reference docs for the React SignUpPage component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { SignUpPage } from '@toolpad/core/SignUpPage';
// or
import { SignUpPage } from '@toolpad/core';Learn about the difference by reading this guide on minimizing bundle size.
| Name | Type | Default | Description |
|---|---|---|---|
| localeText | object | - | The labels for the account component. |
| providers | Array<{ id: string, name: string }> | [] | The list of authentication providers to display. |
| signUp | func | undefined | Callback fired when a user signs up. Signature: function(provider: AuthProvider, formData: FormData, callbackUrl: string) => void | Promise
|
| slotProps | { confirmPasswordField?: object, emailField?: object, form?: object, oAuthButton?: object, passwordField?: object, privacyLink?: object, submitButton?: object, termsLink?: object } | {} | The props used for each slot inside. |
| slots | { confirmPasswordField?: elementType, emailField?: elementType, passwordField?: elementType, privacyLink?: string, submitButton?: elementType, subtitle?: elementType, termsLink?: string, title?: elementType } | {} | The components used for each slot inside. See Slots API below for more details. |
| sx | Array<func | object | bool> | func | object | - | The prop used to customize the styles on the See the `sx` page for more details. |
The component cannot hold a ref.
| Slot name | Class name | Default component | Description |
|---|---|---|---|
| emailField | TextField | The custom email field component used in the credentials form. | |
| passwordField | TextField | The custom password field component used in the credentials form. | |
| confirmPasswordField | TextField | The custom confirm password field component used in the credentials form. | |
| submitButton | Button | The custom submit button component used in the credentials form. | |
| termsLink | Link | The custom terms and conditions link component. | |
| privacyLink | Link | The custom privacy policy link component. | |
| title | Typography | A component to override the default title section | |
| subtitle | Typography | A component to override the default subtitle section |
Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.