nessra uinessra ui

A complete sign up page with name, email, password and confirmation.

Loading...

Installation

pnpmnpmyarnbun
pnpm dlx shadcn@latest add https://nessra-ui.vercel.app/r/signup-form.json

Usage

This block is a complete sign up page ready to use. Just import and render:

import { SignupForm } from "@/components/blocks/signup-form"
 
export default function SignupPage() {
  return <SignupForm />
}

Features

  • Full page layout with centered card
  • Logo with link to homepage
  • Name field with User icon
  • Email field with Mail icon
  • Password field with Lock icon and show/hide toggle
  • Confirm password field with Lock icon and show/hide toggle
  • Password match validation with Zod refine
  • TanStack Form for form state management
  • Submit button with spinner
  • Sign in link
  • Footer with copyright

Customization

  • Replace the logo with your own
  • Modify the validation schema in signupSchema
  • Add fields (like phone number, terms checkbox)
  • Integrate with your authentication provider in onSubmit
  • Change the links (/, /sign-in) to match your routing