A masonry grid of bird photographs that tilt on hover, with one card expanding to reveal full-screen content

Tilt Grid Content Reveal

This is a Tilt Grid Content Reveal. It transforms a standard masonry image gallery into a highly interactive, spatial experience. Its function is to provide an engaging browsing interface where hovering induces physical 3D tilt, and clicking smoothly expands the thumbnail into a full-screen presentation, completely immersing the user in the selected content. (Requires: GSAP, charming.js, masonry.js, imagesloaded.js)

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Mar 2026):
Chrome Chrome 60+ Edge Edge 79+ Firefox Firefox 55+ Safari Safari 11+
Features:
3D Hover Tilt Grid Expansion Staggered Typography Scroll to Top
Code by: Sebi Sebi
License: MIT

See the Pen Tilt Grid Content Reveal.

Digital trading card with 3D thickness and hover tilt effect featuring SVG character art against a clean background

Immersive 3D Tilt Card Modal

We accept flatness in web interfaces as a constraint, but it is merely a habit. This component breaks the fourth wall, transforming a static modal into a tangible, digital artifact. By coupling mouse physics with deep perspective, we create an interaction that feels less like clicking a link and more like holding a rare collectable. (Requires: gsap)

Technologies:
HTML SCSS JavaScript
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome Chrome 80+ Edge Edge 80+ Firefox Firefox 75+ Safari Safari 13+
Features:
3D Parallax Mouse Tracking Dynamic Content Performance Optimized
Code by: Ryan LaBar Ryan LaBar
License: MIT

See the Pen Immersive 3D Tilt Card Modal.

Dark UI card featuring a cookie avatar asking 'Can I ask you a question?' with Yes/No buttons, leading to a playful cookie reveal animation.

Playful Multi-Step Interaction

This Playful Multi-Step Interaction transforms a boring confirmation dialog into a delightful conversation. It guides the user through a short “chat” with a friendly avatar, using smooth animations and instant feedback. This pattern is perfect for onboarding flows, feedback forms, or any interface that benefits from a human touch, proving that standard interactions can be both functional and fun.

Technologies:
HTML CSS JavaScript
Difficulty: Beginner
Browser Support (as of Feb 2026):
Chrome Chrome 75+ Edge Edge 79+ Firefox Firefox 48+ Safari Safari 13.1+
Features:
Multi-step Form Flow WAAPI Animations Accessible State Management Focus Handling
Code by: tofjadesign tofjadesign
License: MIT

See the Pen Playful Multi-Step Interaction.

Modal v3

Modal v3

A dynamic modal interaction orchestrated by GSAP timelines, featuring a cascading entry sequence. Upon triggering, the button morphs into the modal container, followed by a staggered reveal of content, imagery, and the close control, utilizing back-easing for a playful, spring-like feel.

See the Pen Modal v3.

GSAP Timeline Modal Animation

GSAP Timeline Modal Animation

A spectacular modal window animation built entirely on the GSAP Timeline. The sequence of element appearances, including a stagger effect for the content and smooth animation overlapping, is controlled with millisecond precision. The demo shows how custom ease functions add “life” and character to the animation.

See the Pen GSAP Timeline Modal Animation.

Draggable Modal with GSAP and Tailwind CSS

Draggable Modal with GSAP and Tailwind CSS

A practical example of using lifecycle callbacks in GSAP Draggable - onPressInit and onRelease toggle a CSS class on the body, triggering a smooth background animation for visual feedback during the interaction.

Responsive Modal Popup Box

Responsive Modal Popup Box

A responsive share modal pop-up that appears from the bottom on mobile devices and centers on the screen on desktop. The display logic is entirely tied to toggling the .show-modal class using vanilla JS.

See the Pen Responsive Modal Popup Box.

Button-to-Modal Transition Animation with GSAP

Button-to-Modal Transition Animation with GSAP

Dynamic “button-to-modal” transition animation built with vanilla JavaScript and GSAP, featuring adaptive scaling calculation for correct display on all screen sizes.

Animated Upload Modal

Animated Upload Modal

A feature-rich file upload modal engineered with fluid CSS keyframe animations and a clean multi-state structure, driven by vanilla JavaScript to manage the ‘Ready’, ‘Uploading’, ‘Success’, and ‘Error’ flow via data-state attributes.

See the Pen Animated Upload Modal.

Leverage the modern View Transitions API to seamlessly morph any element (e.g., button to dialog) using the view-transition-name property and custom CSS keyframes like flip-in.