Creative Tim UICreative Tim UI

Authentication Blocks based on shadcn/ui

Login and signup are screens every app needs and nobody enjoys building twice. These shadcn/ui authentication blocks give you the full set ready to wire up: sign-in, register, forgot-password, and the social-login buttons, with the labels, validation states, and spacing already handled.

They are built on shadcn/ui form fields and Tailwind, so the inputs, focus states, and error messages look right and behave accessibly. Copy the code or install it with one npx shadcn add command, then connect it to whatever you use for real auth: NextAuth, Clerk, Supabase, Firebase, or your own API.

One thing worth being clear about: these are the UI, not the backend. They give you the form and the flow; you plug in the provider that checks the password. Pick the layout below that fits, a centered card, a split screen with an image, and start from there.

Files
app/authentication-01/page.tsx
import Authentication01 from "@/components/creative-tim/blocks/authentication-01"

export default function Page() {
  return <Authentication01 />
}
Simple sign-in form with email, password, and Google authentication
authentication-01

Sign In

Enter your email and password to sign in

Not registered?Create account

import Authentication01 from "@/components/creative-tim/blocks/authentication-01"

export default function Page() {
  return <Authentication01 />
}
PRO Blocks

This is a PRO block. Upgrade your account to access the source code and install this block via CLI/MCP.

Upgrade to PRO
Sign-in form with image and social authentication options
authentication-02

Sign In

Enter your email and password to sign in

Forgot Password?

Not registered?Create account

import Authentication02 from "@/components/creative-tim/blocks/authentication-02"

export default function Page() {
  return <Authentication02 />
}
PRO Blocks

This is a PRO block. Upgrade your account to access the source code and install this block via CLI/MCP.

Upgrade to PRO
Simple sign-up form with social authentication
authentication-03

Join us today

Enter your email and password to register.

Or

Already have an account?Sign in

import Authentication03 from "@/components/creative-tim/blocks/authentication-03"

export default function Page() {
  return <Authentication03 />
}
PRO Blocks

This is a PRO block. Upgrade your account to access the source code and install this block via CLI/MCP.

Upgrade to PRO
Password reset form with background image
authentication-04

Reset Password

You will receive an e-mail in maximum 60 seconds

import Authentication04 from "@/components/creative-tim/blocks/authentication-04"

export default function Page() {
  return <Authentication04 />
}
PRO Blocks

This is a PRO block. Upgrade your account to access the source code and install this block via CLI/MCP.

Upgrade to PRO
Sign-in form with full background image and trust badge
authentication-05

Sign In

Enter your email and password to sign in

Forgot Password?

Or

Not registered?Create account

Trusted by 2M+ Users Worldwide

Join thousands of satisfied customers who trust our platform daily

import Authentication05 from "@/components/creative-tim/blocks/authentication-05"

export default function Page() {
  return <Authentication05 />
}
PRO Blocks

This is a PRO block. Upgrade your account to access the source code and install this block via CLI/MCP.

Upgrade to PRO
Sign-in with company benefits showcase
authentication-06

Sign In

Enter your email and password to sign in

Forgot Password?

Or

Not registered?Create account

Welcome Back

Secure Access

Your data is protected with enterprise-grade security

Fast & Simple

Sign in quickly with your preferred method

Always Available

Access your account anytime, anywhere

2M+ Users

import Authentication06 from "@/components/creative-tim/blocks/authentication-06"

export default function Page() {
  return <Authentication06 />
}

Frequently asked questions

Do these auth blocks handle real login?

No, and that is on purpose. They are the front-end forms and flows. You connect them to your auth provider (NextAuth, Clerk, Supabase, Firebase, or your own backend), which does the actual checking. That keeps you free to use any provider.

Are they free to use?

Yes, the free auth blocks are copy-paste with no account and fine for commercial apps. A few advanced flows are PRO and marked on the block.

Do they include validation and error states?

The fields use shadcn/ui form components with the error and focus states styled, so you get the visual side. You wire the validation logic (or a library like Zod and react-hook-form) to the fields.

Can I add social login buttons?

Several blocks already include Google, GitHub, and similar buttons laid out. They are normal buttons, so you hook them to your provider's OAuth flow.

Do they work with Next.js?

Yes, they are built for React and Next.js with Tailwind and pair naturally with NextAuth or middleware-based auth. They also work in any React app with shadcn/ui installed.