Login Form

A free React login form template with Tailwind CSS, React Hook Form and Zod: email and password with validation, show/hide password, remember me, forgot password and Google/GitHub buttons.

ReactTailwind CSSReact Hook FormZodFree
login-form.tsx

Welcome back

Sign in to your account to continue.

or with email

Don't have an account? Sign up

Installation

Install the form libraries, then copy the code above into your project.

npm i react-hook-form zod @hookform/resolvers

About the Login Form

A clean sign-in card: email and password with validation, a show/hide password toggle, a remember me checkbox, a forgot password link, social sign-in buttons and a link to sign up.

When to use it

Use it for the sign-in page of a SaaS app, a dashboard or a members area, with any auth provider.

More form templates

All forms →