Signup Form

A dark-themed signup component with a live password strength indicator, custom checkbox, Google OAuth, and loading state.

Create an account

Start building something great today

or sign up with email

Already have an account?

Installation

bash
npx shadcn@latest add "https://dexterityui.vercel.app/r/signup.json"

Features

🔐

Password strength meter

Live 4-bar indicator — Weak, Fair, Good, Strong

👁️

Show / hide password

Toggle password visibility without losing focus

Custom checkbox

Accessible Terms & Privacy agreement checkbox

Google OAuth

One-click Google sign-up with branded button

Loading state

Submit button shows spinner during async operations

🎨

Fully composable

All handlers passed as props, zero internal state dependencies

Props

PropTypeDescription
onSubmit(values) => voidCalled with { name, email, password } on form submit.
onGoogleSignIn() => voidCalled when the Google button is clicked.
onSignIn() => voidCalled when the 'Sign in' link is clicked.
classNamestringAdditional classes for the root container.