Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Collection of 20 responsive login form templates built with pure HTML, CSS, and JavaScript, with no external dependencies.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
Modern Login Forms is a collection of 20 self-contained HTML, CSS, and JavaScript login page templates built by Aigars Silkalns for Colorlib, designed to be dropped into any web project with zero build tools or dependencies.
Modern Login Forms is a free, open-source set of login page templates that take plain HTML, CSS, and JavaScript as their only ingredients and produce fully styled, responsive login forms with validation, floating labels, password toggles, and success states. The templates run entirely in the browser, require no server or package manager, and are published as a GitHub repository with a live gallery at https://puikinsh.github.io/login-forms/. Aigars Silkalns created the collection for Colorlib, which hosts hundreds of additional login form designs on its own site.
Open index.html in a browser to preview all forms. Then copy the specific form folder and the shared/js/form-utils.js file into your project. The form's script.js instantiates a class that extends FormUtils.LoginFormBase, and you can override the decorate() method for entrance animations or onSuccess() for a custom success transition. The included simulateLogin function always succeeds except for the demo credentials [email protected] with password wrongpassword, which intentionally triggers the error state.
Yes, the repository is open source and the README presents all 20 forms as copy-paste ready for any project. There is no listed payment tier or commercial restriction beyond the original creation credit for Aigars Silkalns and Colorlib.
No. The forms use only vanilla HTML, CSS, and JavaScript. There is no package.json, no bundler, and no external runtime dependency, so you can paste the files into a static site or any server-rendered app.
The README lists Chrome 88+, Firefox 103+, Safari 15.4+, and Edge 88+. Older browsers will still show the form but may miss the newer CSS features such as backdrop-filter in the Glassmorphism design.
Yes, each form's colors, gradients, and borders are defined in its own style.css, and the labels and text live in index.html. The shared base class options in script.js let you adjust validators and which elements hide on success.
The project contains 20 self-contained form templates, organized into categories: modern and stylish, corporate and clean, minimal and simple, creative and artistic, and themed and unique variations like Travel Booking and Eco Wellness.