Sign Up Forms
Convert visitors into registered users
Use the SignUp
component to build sign-up forms and convert your visitors into registered users. Customize your labels, placeholders, define additional texts, and personalize your CTAs.
By default, calling the SignUp
component will create the above form. You can use the above props to translate the form and customize its appearance to create various sign-up forms.
Variants
You can use the above props to create a wide range of sign-up forms, including forms with username, forms with additional links, or forms with a single button. To remove secondary buttons, simply set your secondaryButtonLabel
prop to an empty string:
Handling User Input
To handle user input, pass a selector to the primaryButtonSelector
and secondaryButtonSelector
props, that you can use for attaching event listeners:
In Svelte & React, you can use the primaryOnClick
and secondaryOnClick
props to attach event listeners to your primary and secondary buttons.
API
Prop | Purpose |
---|---|
label | Sets a label for the sign-up form. |
emailLabel | Sets a label for the email input. |
emailPlaceholder | Sets a placeholder for the email input. |
emailSubText | Sets additional text under the email input. |
passwordLabel | Sets a label for the password input. |
passwordPlaceholder | Sets a placeholder for the password input. |
passwordSubText | Sets additional text under the password input. |
primaryButtonTheme | Sets the theme for the primary button. |
primaryButtonLabel | Sets the label for the primary button. |
secondaryButtonTheme | Sets the theme for the secondary button. |
secondaryButtonLabel | Sets the label for the secondary button. |
Svelte & React Prop | Purpose |
---|---|
primaryOnClick | Attach on-click event listeners for the primary button. |
secondaryOnClick | Attach on-click event listeners for the secondary button. |
Request improvement for this page