Collection of free HTML and CSS form code examples: interactive, step by step, simple, validation, etc.

SUBSCRIBE FORM

Subscribe form with animated button in HTML and CSS. Made with HTML (Pug) / CSS (SCSS) by Ahmed Nasr.

 

Demo and Code

SEARCH FORM

Search form with funny animation and clearing button. Made with HTML / CSS by Stas Melnikov.

 Demo and Code

LOGIN SCREEN

Trendy login screen user interface. Made with HTML/CSS/SCSS/JavaScript (jquery.js) by Chouaib Blg.

 Demo and Code

LOGIN FORM UI DESIGN

Login form UI design using HTML and Sass and jQuery. Made with HTML/CSS/SCSS/JavaScript (jquery.js) by Chouaib Blgn.

 Demo and Code

FLEXBOX FORM

A form made with flexbox. Made with HTML/CSS by Katherine Kato.

 Demo and Code

INVISION LOGIN

Sign in form UI. Made with HTML/CSS/JavaScript by Mikael Ainalem.

 Demo and Code

Animated search box using HTML, CSS and jQuery. Made with HTML / CSS / JavaScript (jquery.js) by Chouaib Blg.

 Demo and Code

LOGIN & SIGN UP FORM UI

Micro interaction for sign up / sign in form. Made with HTML/CSS/SCSS/JavaScript (jquery.js) by Sasha.

 Demo and Code

OBNOXIOUS ERRORS

Form errors with obnoxious.css animation. Made with HTML/CSS/SCSS/JavaScript (jquery.js) by Maria Cheline.

 Demo and Code

Search Field

HTML and CSS search field. Made by Bahaà Addin Balashoni.

 Demo and Code

Payment Card Checkout

Payment card checkout in HTML, CSS and JavaScript. Made by Simone Bernabè.

 Demo and Code

Credit Card Flat Design

Pure CSS credit card flat design. Made by Jean Oliveira.

 Demo and Code

Material Design Login Form

Material design login form with HTML, CSS and JavaScritp. Made by celyes.

 Demo and Code

Login Form – Modal

This is a material inspired login modal with 2 panels. A login panel, and a registration panel which is hidden by default. The registration panel can be triggered by clicking the visible tab on the right side. Once clicked, the registration panel will slide in and overlap the login panel. Made by Andy Tran.

 Demo and Code

Overlay Signup Form

Overlay signup form with HTML, CSS and JavaScript. Made by Chris Deacy.

 Demo and Code

Sign Up

Sign up form UI with React.js. Made by Jack Oliver.

 Demo and Code

UI Credit Card

UI credit card with HTML, CSS and JavaScript. Made by Gil.

 Demo and Code

This search input should work with any position/layout type, including normal pages with scroll. Just don’t override .s–cloned styles for .search and everything will be okay. Requires specific styles for containers (check html+body and .scroll-cont styles) and .search-overlay element to be placed in the root. Made by Nikolay Talanov.

 Demo and Code

Search Bar Animation

Search input with morphing effect. Made by Milan Milošev.

 Demo and Code

Search bar with HTML, CSS and JavaScript. Made by Adam Kuhn.

 Demo and Code

Checkout Card

Checkout card form with React.js. Made by Jack Oliver.

 Demo and Code

Simple search playing around with animations and positions. Made by Aaron Taylor.

 Demo and Code

Sign Up Form

Sign up with HTML, CSS and JavaScript. Made by Tommaso Poletti.

Demo and Code

Credit Card Checkout

Clean and simple credit card payment checkout form, with css3, html5, and little bit of jQuery, just to make slightly better UX. Made by Momcilo Popov.

 Demo and Code

Simple Mobile Search Input

This is an example of search input, that could be put in a mobile template for an e-commerce or wheather or much more. Made by Tommaso Poletti.

 Demo and Code

SVG search icon that transitions to underline on focus. Made by Mark Thomes.

 Demo and Code

Credit Card Payment Form

Credit card payment form with HTML, CSS and JavaScript. Made by Jade Preis.

 Demo and Code

Sign Up Form UI

Login form to the Daily UI Challenge #001. Made by Maycon Luiz.

 Demo and Code

Credit Card Payment

Non functional UI credit cards payment. Coded for practice raw JS for DOM manipulation.
Made by Shehab Eltawel.

 Demo and Code

Search Input Context Animation

CSS icons, context animation, Telegram app-like search loading effect. Made by Riccardo Zanutta.

 Demo and Code

Form Sign Up UI

Form sign up UI with HTML, CSS and JavaScript. Made by Eddie Solar.

 Demo and Code

Login & Sign Up Form Concept

Sign in & sign up form concept, click on login and sign up to changue and view the effect. Made by Dany Santos.

 Demo and Code

Credit Card Checkout

Credit card checkout with HTML, CSS and JavaScript. Made by Fabio Ottaviani.

 Demo and Code

Search UI

Search concept with options. Made by Fabio Ottaviani.

 Demo and Code

Search Animation

Search animation with HTML, CSS and JavaScript. Made by Dmitriy.

 Demo and Code

Credit Card Checkout

Credit card checkout with HTML, CSS and JavaScript. Made by Pavel Laptev.

 Demo and Code

Pull-Out Search Bar Concept

HTML and CSS pull-out search bar concept. Made by Asna Farid.

 Demo and Code

An animating search box made with HTML & CSS. Made by Jarno van Rhijn.

 Demo and Code

It searches things, probably something similar been done before. Made by Jamie Coulter.

 Demo and Code

HTML, CSS and JavaScript bouncy search box. Made by Guillaume Schlipak.

 Demo and Code

Credit Card Checkout

Credit card checkout with HTML, CSS and JavaScript. Made by Marco Biedermann.

 Demo and Code

Sign Up Form UI

Sign up form with HTML, CSS and JavaScript. Made by Lewis Needham.

 Demo and Code

Sign Up Form UI

Daily challenge 001 from dailyui.co. Made by Tyler Johnson.

 Demo and Code

Credit Card UI

Credit card UI with HTML and CSS. Made by Star St.Germain.

 Demo and Code

Search Transformation

Interactive prototype of search form transformation. Made by Lucas Bourdallé.

 Demo and Code

Log In Form

Log in form with HTML, CSS and JavaScript. Made by Kamen Nedev.

 Demo and Code

Search Input Focus Animation

A simple animation for the focus event on a search input. Made by Nicols J Engler.

Demo and Code

Material Login Form

Interactive material design login form. Made by Andy Tran.

 Demo and Code

Flat Login Form

Flat login form with HTML, CSS and JavaScript. Made by Andy Tran.

 Demo and Code

Sign Up Form UI

Sign Up Form UI with HTML and CSS. Made by Peter.

 Demo and Code

Search Button Animation

Search button animation with HTML, CSS and JavaScript. Made by Kristy Yeaton.

 Demo and Code

Search Input With Animation

Pure CSS Search input with animation. Made by Arlina Design.

 Demo and Code

Fancy Forms

Material design style form elements. Made by Adam.

 Demo and Code

Single Input 3D Form

Single input 3D form made by Son Tran-Nguyen.

 Demo and Code

Form Design

This is a great space saver when it comes to showing the input labels as a placeholder and when user focuses on the input area, it still enables user to enter their information and also placeholder/label is still available for user to see at any time. Made by Timurtek Bizel.

 Demo and Code

Animated Login Form

Experimenting with hidden login forms with animated reveals. This is the first of a few hopefully. Made by Che.

 Demo and Code

Flat UI Login Form

HTML, CSS and JavaScript flat UI login form. Made by Brad Bodine.

 Demo and Code

Step By Step Register Form

Step by step register form with HTML, CSS and JavaScript. Made by Jerome Renders.

 Demo and Code

Interactive Form

An interactive multi step form with HTML, CSS and JavaScript. Made by Rosa.

 Demo and Code

Step By Step Form

A take on the codrops version with the possibility to go back and confirm all inputs. Made by Jonathan H.

 Demo and Code

Step By Step Form

HTML, CSS and JavaScript step by step form. Made by DevTips.

 Demo and Code

Sign Up UI

A simple sign up concept. Made by Tobias.

 Demo and Code

Sign Up UI

Heavily GSAP’ed sign up form with validation handling for the daily ui challenge. Made by Antonin Cezard.

 Demo and Code

Multi Step Form With Progress Bar Using jQuery And CSS3

Got long forms on your website? Break them up into smaller logical sections and convert it into a multi-step form with a cool progress bar. Could work for lengthy processes like registration, checkout, profile fillups, 2-factor authentication logins, etc. Made by Atakan Goktepe.

 Demo and Code

Interactive Form

Interactive input form built with just CSS. Abusing focus state & labels to handle transitions & navigation. Navigate between inputs using Tab (Next) & Shift + Tab (Prev). Pure CSS. No JS included. Made by Emmanuel Pilande.

 Demo and Code

Step by Step Form Interaction

A simple step form for customer experience. Made by Bhakti Al Akbar.

 Demo and Code

Interactive Sign Up Form

A concept for an interactive signup form. Made by Riccardo Pasianotto.

 Demo and Code

SIMPLE FORMS

Made with HTML/Haml/CSS/Sass/JavaScript/CoffeeScript (jquery.js,jquery.customSelect.js) by Michal Niewitala.

 Demo and Code

VALIDATION FORMS

Emoji form validation in pure CSS. Made by Marco Biedermann.

 Demo and Code