Interactive subscription card with dynamic vector eye-tracking, inertia horizontal dragging, elastic edge physics, and curved error messages.

Interactive Eye-Tracking Subscription Form

An advanced interactive subscription form starring a playful cartoon character with dual eye-tracking modes. Pupils react in real time, following the pointer position or snapping directly to the input text caret inside the email field. Dragging the character horizontally triggers fluid physics, rubber-band borders, and elastic drag resets, while error states morph the SVG mouth. (Requires: canvas-confetti.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 110+ Edge Edge 110+ Firefox Firefox 110+ Safari Safari 16.2+
Features:
Eye Tracking Caret Tracking Rubber-band Dragging
Code by: nana nana
License: MIT
Floating glassmorphic pill-shaped navigation bar with gradient active states over a vibrant gradient background

Glassmorphic Advanced Navigation System

This is a Glassmorphic Advanced Navigation System. It provides a central, floating control hub for single-page applications. Its function is to persistently guide the user across different content sections while maintaining a high-end, translucent aesthetic that adapts fluidly between desktop and mobile environments.

Technologies:
HTML CSS JavaScript
Difficulty: Beginner
Browser Support (as of Mar 2026):
Chrome Chrome 76+ Edge Edge 79+ Firefox Firefox 70+ Safari Safari 14+
Features:
Glassmorphism Sticky Header Mobile Overlay Menu Smooth Scroll
Code by: themrsami themrsami
License: MIT
A bold, neobrutalist-style email input field that animates on focus and validation.

Neobrutalist Subscribe Form

A bold, responsive input field that pops out upon activation; valid email entry triggers a bright green arrow button sliding in, which playfully animates on hover.

See the Pen Neobrutalist Subscribe Form.

Interactive login form that performs a 3D flip animation when switching between color themes.

Animated Sign-In Form with Theme Switcher

An interactive login form that performs a 360-degree 3D flip animation to seamlessly transition between vibrant, gradient-based color themes triggered by a JavaScript state manager.

Checkout Radios

Checkout Radios

A modern checkout form component utilizing the powerful CSS :has() selector to style parent containers based on the state of nested radio inputs.

See the Pen Checkout Radios.

Sign Up and Sign In Toggle Form

Sign Up and Sign In Toggle Form

A dual-panel form where JS acts as a simple state trigger, using classList.toggle to apply .animate classes. The entire complex transition is driven by CSS @keyframes, which choreograph separate transform and z-index animations for content and a background image.

Form Validation with :has()

Form Validation with :has()

Leverage the native HTML validation attributes like minlength in conjunction with the :has() selector to deliver real-time, high-performance visual feedback on form errors directly on the container, achieving robust and modern pure CSS validation.

See the Pen Form Validation with :has().

Neo-Brutalism Login Page using CSS

Neo-Brutalism Login Page using CSS

A pure CSS demo showcasing a striking neubrutalist/retro UI style, achieved using prominent box-shadow for the paper-cut 3D effect and CSS variables to manage a bold, three-color palette.

Simple Subscribe Form

Simple Subscribe Form

This demo’s lively backdrop is created by injecting animated creatures into the form’s ::before and ::after pseudo-elements using Base64 data:image URLs. This visual flair is complemented by polished, pure CSS micro-interactions - the email input elegantly expands its width on :focus, while the submit button provides a tactile 3D press effect by manipulating box-shadow and transform: translateY().

See the Pen Simple Subscribe Form.

UI Credit Card Checkout

UI Credit Card Checkout

This payment UI is a showcase of clean SCSS architecture, utilizing variables and a custom @mixin for maintainability. A key feature is its clever, JS-free state management for card selection, where input[type="button"] elements are toggled using the :focus pseudo-class to remove a grayscale() filter. The component’s cohesive design is further enhanced by custom-styled native <select> elements, achieved by stripping default browser styles with appearance: none;.

See the Pen UI Credit Card Checkout.

Credit Card Checkout

Credit Card Checkout

This JS-free form component achieves a distinct “neo-brutalist” aesthetic by pairing a solid border with a hard, offset box-shadow, creating a tactile, pseudo-3D effect. This visual system is applied to a modern Flexbox layout and is enhanced by polished micro-interactions, including a unique box-shadow outline on :hover and a clear background change on :focus for a cohesive user experience.

See the Pen Credit Card Checkout.

Border Form

Border Form

This demo blends a modern, adaptive layout powered by CSS Grid with a striking visual style. The fluid grid structure is populated by chunky form elements, whose pseudo-3D depth is crafted by pairing a thick border with a solid-color box-shadow, demonstrating a complete UI solution in pure CSS.

See the Pen Border Form.

Colorful Contact Form

Colorful Contact Form

This is a lightweight, JS-free contact form that relies on modern CSS for layout and HTML5 for native validation. The code is written in Pug and SCSS, demonstrating a clean, preprocessor-based workflow for building robust and maintainable UI components.

See the Pen Colorful Contact Form.

Contact Form with SVG Animation

Contact Form with SVG Animation

This is a complete UI component blending aesthetic animation with functional form design. Staggered CSS keyframe animations bring the inline SVG to life, while the form itself features modern styling techniques, including a performant gradient-transition button and absolutely positioned Feather icons.

Cube Login Form

Cube Login Form

This demo showcases a pseudo-3D cube effect for form elements, architected in pure CSS using nested divs and transform: skew() to create a lightweight isometric perspective. The key micro-interaction is a satisfying “wipe” animation - triggered on :focus via the general sibling combinator - which transitions the top property of an inner element to reveal a vibrant gradient fill.

See the Pen Cube Login Form.

Interactive login form with animated character. On input, face expression changes: valid form makes mouth smile. “Show Password” checkbox toggles text visibility and changes character’s eyes. All elements connected via CSS selectors.

Responsive form with flexible sizing via flex. Input fields take available space, email field wider. Submit button highlighted with color and shadow. Minimal design with no extra styles.

Login form with animated fields and icons. On focus, field highlights and animated frame appears (stroke-dasharray). Icons react to input validity: hat appears, lock opens. Submit button visible only when both fields are filled.

Login form with animated button. On hover, light streak slides across button (pseudo-element with gradient). Input fields styled as “material” with floating labels. Dark background with layered shadow.

Abstract Sign Up Form

Brutalist-style contact form. Bold border, layered shadow (box-shadow), input bottom border thickens on focus. Button color and shadow change on hover. Background image and retro styling.