A gray skeleton loader style list item morphing from a horizontal row into an expanded vertical card with additional details.

Fluid Morphing List Expansion

demo & code

Most interfaces treat layout changes as abrupt cuts in a film — jarring and disconnected. We reject this. UI should behave like matter, conserving momentum and mass. This component demonstrates the “impossible”: animating a flexbox container from a horizontal row to a vertical column seamlessly. It creates a sense of spatial continuity that makes the application feel not like software, but like a living organism adapting to user intent.

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Feb 2026):
Chrome 60+ Edge 79+ Firefox 60+ Safari 11+
Features:
Layout Morphing FLIP Animation State Management Flexbox Transition
Interactive list where a clicked gray item expands into a large purple detailed card with a smooth animated transition of the avatar and text lines

GSAP Flip Layout Expansion

demo & code

This GSAP Flip Layout Expansion demonstrates how to animate complex layout changes that are usually impossible with pure CSS. By utilizing the FLIP (First, Last, Invert, Play) technique via GSAP, a list item transforms from a horizontal row into a vertical, detailed card. It smoothly handles the resizing of nested elements (like the avatar) and the repositioning of surrounding items without jumpy reflows.

Technologies:
HTML CSS JavaScript
Difficulty: Intermediate
Browser Support (as of Feb 2026):
Chrome 60+ Edge 79+ Firefox 60+ Safari 11+
Features:
FLIP Animation Layout Morphing Nested Scaling State Management
Image gallery where clicking a thumbnail smoothly animates it to a full-screen detailed view.

Grid Items View with Flip Plugin

An image gallery featuring seamless “hero” transitions powered by GSAP Flip. Clicking an item expands it into a detailed view overlaid on the dimmed grid, smoothly animating position and scale.

See the Pen Grid Items View with Flip Plugin.

GSAP Flip Plugin Demo

GSAP Flip Plugin Demo

This demo is a showcase of GSAP’s Flip plugin, a powerful tool for animating layout changes. The Flip.getState() and Flip.from() methods are used to seamlessly transition between four different CSS layouts, creating a complex and fluid morphing animation with minimal code.

See the Pen GSAP Flip Plugin Demo.

Interactive Tab System with GSAP

Interactive Tab System with GSAP

An advanced tab system where all elements (text, images, and navigation) are synchronized into a single, fluid transition, utilizing gsap.timeline() for precise control over fading, sliding, and animation timing.

See the Pen Interactive Tab System with GSAP.

Animate Grid Layout with FLIP

Animate Grid Layout with FLIP

Showcasing the power of GreenSock’s FLIP technique to smoothly animate CSS Grid layout changes, including alphabetical sorting and DOM element manipulation.

See the Pen Animate Grid Layout with FLIP.

GSAP FLIP Transform Button to 3D Coin

GSAP FLIP Transform Button to 3D Coin

Utilizing the powerful GSAP FLIP technique to flawlessly transform a 2D button into a highly detailed 3D object (a spinning coin) created with the lightweight Zdog library, ensuring a smooth transition between DOM and 3D graphics.

Flip Grid Size with GSAP

Flip Grid Size with GSAP

A demonstration of how GSAP Flip achieves flawless element repositioning: the layout switch is done by simply adding/removing a CSS class, while all complex transition logic (position, size) is delegated to the library.

See the Pen Flip Grid Size with GSAP.