ObjectUIObjectUI

Authentication Blocks

Login forms, signup pages, and authentication flows

Authentication Blocks

Beautiful, accessible authentication forms and flows. Every block below is sourced from the canonical schema catalog (@object-ui/example-schema-catalog), which is smoke-tested on every CI run — if a schema breaks, the build fails.

Copy the JSON from the Code tab and drop it into your application.

Login Form

A clean login form with email and password fields, "remember me", and a social-provider button.

Simple Login Form

Email + password sign-in with "remember me" and a social provider button.

Welcome BackEnter your credentials to sign in
Forgot password?
Don't have an account? Sign up

Sign Up Form

Two-column registration form with terms acceptance.

Sign Up Form

Two-column registration form with terms acceptance.

Create an AccountEnter your information to get started
Already have an account? Sign in

Forgot Password

Request a password reset link by email.

Forgot Password

Request a password reset email.

Reset PasswordEnter your email address and we'll send you a reset link

Two-Factor Authentication

Six-digit code verification with a resend link.

Two-Factor Authentication

6-digit code verification with resend.

Two-Factor AuthenticationEnter the verification code from your authenticator app
Didn't receive a code? Resend

Customizing

All authentication blocks are plain JSON — tweak any node to change the look or behaviour. Common customisations:

Change Colors

{
  "type": "button",
  "className": "bg-blue-600 hover:bg-blue-700"
}

Wire Up Submission

{
  "type": "button",
  "label": "Sign In",
  "action": {
    "type": "submit",
    "endpoint": "/api/auth/login",
    "method": "POST"
  }
}

Adjust Layout

{
  "type": "card",
  "className": "max-w-lg p-8"
}

Next Steps

On this page