Auth

Sign Up

A centered sign-up form with full name, email, and password fields. Includes inline validation, a terms/privacy footer, and a link back to the login page.

A

Create account

Create your account to get started.

By creating an account you agree to our Terms and Privacy Policy.

Already have an account? Sign in

import { SignUp } from "@aetherstack/blocks"

Installation

terminal
npx aether-ui add signup-block

Import

import.tsx
import { SignupBlock } from "@aetherstack/blocks"

Usage

sign-up.tsx
import { SignupBlock } from "@aetherstack/blocks"

export default function SignupPage() {
  return (
    <SignupBlock
      appName="Acme"
      tagline="Create your account to get started."
      onSubmit={async ({ name, email, password }) => {
        await createAccount({ name, email, password })
      }}
      signInHref="/login"
      termsHref="/terms"
      privacyHref="/privacy"
    />
  )
}

Props

PropTypeDefaultDescription
appNamestring"Aether UI"Product name displayed above the form.
taglinestringShort tagline below the app name.
onSubmit(values: { name, email, password }) => voidCalled with validated form data on submit.
signInHrefstring"/login"URL for the existing account sign-in link.
termsHrefstring"/terms"URL for the terms of service link in the footer.
privacyHrefstring"/privacy"URL for the privacy policy link in the footer.
classNamestringAdditional classes on the root wrapper.

* Required

Accessibility

  • All form fields are labelled via visible labels and htmlFor/id associations.
  • Inline validation errors are rendered adjacent to each field.
  • The password field uses type="password" for native browser masking.
  • Terms and privacy links open in the same tab by default — set target="_blank" if needed.