Cartoonish coffee cup character with a face, steam rising, and fluid bouncing animation on a cream background

Animated Coffee Cup Sticker

demo & code

In the sterile world of web interfaces, a touch of whimsy can be the difference between a user forgetting your site and remembering it with a smile. This snippet isn’t just an animation; it’s a digital sticker with a soul. It brings the static ritual of coffee to life through squash-and-stretch principles, transforming a simple icon into a living character that breathes, reacts, and delights.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
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.

Level: Advanced
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
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.

Level: Intermediate
Browser Support [As of Feb 2026]: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Minimalist form controls including checkbox, radio button, and toggle switch, featuring organic shapes and blue active states.

Elastic SVG Morphing Form Controls

demo & code

This Elastic SVG Morphing Form Controls set redefines standard UI elements by treating them as organic, malleable shapes. Instead of rigid CSS transitions, it utilizes GSAP’s MorphSVGPlugin to physically warp the vector paths of checkboxes, radio buttons, and switches during interaction. The result is a tactile, “gummy” feel where elements squish upon clicking and snap elastically into their active states.

Level: Advanced
Browser Support [As of Jan 2026]: Chrome 80+, Edge 80+, Safari 13+, Firefox 75+
A mobile app interface mockup showing a rounded 'Compose' button in the bottom right corner; on click, it expands to fill the screen

Material 3 Floating Action Button (FAB)

demo & code

This Material 3 Floating Action Button (FAB) brings Google’s latest design language to life. Unlike standard FABs that just act as triggers, this component showcases a sophisticated “morph” transition. Upon interaction, the small corner button fluidly expands into a full-screen modal or form, maintaining visual continuity and providing a high-quality, app-like experience.

Level: Intermediate
Browser Support [As of Jan 2026]: Chrome 49+, Edge 15+, Firefox 43+, Safari 10+
Dark mode pagination UI with an active blue dot stretching elastically towards the next item, demonstrating GSAP SVG morphing mechanics

Elastic Morphing Dot Pagination

demo & code

This Gooey Pagination Dot Morph transforms a standard carousel indicator into a delightful liquid micro-interaction. Instead of simply fading or sliding, the active dot behaves like a viscous fluid - stretching (squashing) as it moves and snapping back to a perfect circle upon arrival. It utilizes GSAP’s MorphSVGPlugin to interpolate between different SVG path shapes in real-time.

Level: Intermediate
Browser Support [As of Jan 2026]: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
An animated notification button that expands into a full panel with a list of activity cards.

Activity Notification Panel Concept

A button with a notification badge smoothly expands into a large window upon clicking; the header text slides up, and activity cards cascade into view within.

Animated Share Interaction

Animated Share Interaction

A smooth, tactile micro-interface that saves space by hiding sharing options until needed, delighting the user with high-quality animation.

See the Pen Animated Share Interaction.

High Five Button

High Five Button

A delightful “High Five” interaction button powered by GSAP and MorphSVGPlugin.

See the Pen High Five Button.

Morphing SVG Button with GSAP

Morphing SVG Button with GSAP

A fluid SVG interaction powered by GSAP’s MorphSVGPlugin that seamlessly deforms a button upon hover. The animation synchronizes the morphing of the container’s geometry with the underlying textPath baseline, allowing the label to curve naturally alongside the background shape via a reversible timeline.

See the Pen Morphing SVG Button with GSAP.

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.

Animated Slider with Morphing Effects

Animated Slider with Morphing Effects

This cinematic slider interface leverages GSAP timelines and sophisticated clip-path polygon transformations to orchestrate fluid transitions between full-screen slides and an overlay navigation system.

Image Displacement with Three.js

Image Displacement with Three.js

A texture morphing effect with 3D rotation on hover, implemented using Three.js and shaders (GLSL). The fragment shader uses the snoise3 function (simplex noise) to create an organic mixing mask for blending two images.

See the Pen Image Displacement with Three.js.

Pagination with Morphing Numbers

Pagination with Morphing Numbers

This interactive pagination features a fluid numerical transition achieved solely through CSS clip-path animations, where JavaScript toggles the body class to trigger the complex morphing sequence on the SVG elements.

See the Pen Pagination with Morphing Numbers.

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.

Morphing Shape with Spinning Color Stroke

Morphing Shape with Spinning Color Stroke

Complex Path Morphing at the intersection of technologies: the demo uses the GSAP library to interpolate coordinates sampled from SVG paths and renders the result with frame-by-frame precision using the Canvas API.

The Persistence of Memory (GSAP Page Transition)

The Persistence of Memory (GSAP Page Transition)

A mesmerizing page transition effect that uses GSAP to morph an SVG path (a custom curtain reveal) to smoothly shift between the main content and the detailed view.

WebGL Morphing Ball with Three.js and GSAP

WebGL Morphing Ball with Three.js and GSAP

A striking shader morphing implementation built on Three.js/WebGL, where smooth 3D sphere deformation is created by procedural noise in the vertex shader, with dynamics controlled via GSAP and uniform variables.

Countdown to Love (GSAP Morphing)

Countdown to Love (GSAP Morphing)

Dynamic grid animation with GSAP timeline sequencing - pixel-perfect numeric countdown transitions and shape morphing with optimized performance.

Three.js Particle Morphing Animation

Three.js Particle Morphing Animation

Powered by Three.js and Anime.js, this demo showcases complex particle morphing between six different shapes with smooth, procedurally generated transitions and customizable color schemes.