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: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Minimalist dark interface featuring the word 'Creativity' in motion, utilizing a dual-layer clipping mask effect where the text fills with white as it slides and rotates

Kinetic clip-path Text Rotator

demo & code

Static text is a relic of print media. In the digital realm, typography should possess momentum and weight. This component transforms a standard headline into a kinetic event. By synchronizing rotation with advanced clipping masks, we create the illusion of text being physically “printed” or “wiped” into existence at high velocity. It is visceral, rhythmic, and designed to command attention without screaming.

Level: Intermediate
Browser Support: 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: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Digital trading card with 3D thickness and hover tilt effect featuring SVG character art against a clean background

Immersive 3D Tilt Card Modal

demo & code

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.

Level: Advanced
Browser Support: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
Three animated SVG characters representing negative, neutral, and positive states, controlled by a horizontal range slider

Interactive Emotional Feedback Slider

demo & code

Forms are traditionally cold and utilitarian. This component challenges that norm by injecting emotional intelligence into the user interface. By mapping a range slider to animated character states, we transform a simple data input into a conversation. It turns the abstract concept of “satisfaction” into a relatable, human narrative, encouraging users to engage more deeply with the feedback process.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
Five-star rating UI where the selected stars are filled yellow and bounce playfully, while unselected stars remain grey dots

Elastic Animated Star Rating

demo & code

This Elastic Animated Star Rating component turns a mundane feedback form into a delightful micro-interaction. Instead of simple color changes, the stars spring to life with a satisfying “elastic” pop when clicked. The animation logic handles both filling (bouncing in) and emptying (shrinking away) states, making the interaction feel physically responsive and engaging.

Level: Intermediate
Browser Support: Chrome 55+, Edge 79+, Firefox 54+, Safari 10.1+
A split screen effect where dark horizontal bars are peeling away to the right in a wave motion, revealing the background.

GSAP Staggered Blinds Reveal

demo & code

This GSAP Staggered Blinds Reveal creates a cinematic transition effect often used in hero sections or between major content blocks. By manipulating a series of div elements acting as “slats,” the animation mimics a zipper or venetian blinds opening. As the user scrolls, the slats slide away and rotate sequentially, revealing the content underneath (or changing the state) in a synchronized wave motion.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
A blue toggle switch UI element where the white circular handle is elongating and morphing like liquid during the transition from off to on.

Morphing Liquid Toggle Switch

demo & code

This Morphing Liquid Toggle Switch takes the standard UI control to a new level of polish. Instead of a rigid circle sliding back and forth, the handle behaves like a viscous fluid. When toggled, it stretches, snaps, and settles into place with a satisfying elastic bounce, creating a delightful tactile experience for the user.

Level: Intermediate
Browser Support: Chrome 50+, Edge 79+, Firefox 50+, Safari 10+
A lush green jungle scene with layers of vector leaves parting to the sides, revealing a golden title 'Jungle Roar' in the center as you scroll.

Parallax Jungle Leaves Reveal

demo & code

This Parallax Jungle Leaves Reveal creates a cinematic opening for a landing page. As the user scrolls, dense layers of tropical SVG leaves part ways - some moving left, some right - while smaller leaves float randomly in the background. The effect culminates in the reveal of a typography-based logo, creating a sense of depth and discovery perfect for storytelling or adventure-themed websites.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A long text article where specific phrases are highlighted with a yellow background animation as they enter the viewport, with controls for highlight style and dark mode at the top

Scroll-Triggered Text Highlights

demo & code

This Scroll-Triggered Text Highlight effect mimics the experience of marking important passages with a highlighter pen as you read. Using GSAP ScrollTrigger, the highlights animate seamlessly from left to right exactly when the text enters the reader’s viewport. The component offers multiple visual styles (full background, half-height, or underline) and fully supports dark mode, making it an excellent addition to long-form articles, documentation, or educational content.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A circular interactive color wheel UI with draggable controls, displaying a tetradic color scheme and hex codes on a dynamically changing background

Interactive SVG Color Wheel

demo & code

This Interactive SVG Color Wheel is a sophisticated design tool built directly into the browser. It allows users to explore color harmonies - Analogous, Complementary, Triadic, Tetradic - by dragging a handle across a mathematically generated wheel. The interface reacts instantly, updating the background, UI elements, and data display with the selected palette, powered by the precision of Chroma.js and GSAP animations.

Level: Advanced
Browser Support: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
A realistic 3D time picker interface with scrolling wheels for hours, minutes, and AM/PM, styled in dark mode with a 3D perspective skew.

3D Rotating iOS Time Picker

demo & code

This 3D Rotating iOS Time Picker recreates the tactile feel of native mobile controls on the web. It features three independently rotating wheels (Hours, Minutes, Meridiem) that snap into place with satisfying physics. The component leverages the cutting-edge Scroll-driven Animations API for buttery-smooth performance on supported browsers, while seamlessly falling back to GSAP for others. The 3D perspective creates a “drum” effect where numbers fade and rotate away as they leave the center view.

Level: Advanced
Browser Support: Chrome 115+, Edge 115+, Safari 26+, Firefox (support via GSAP Fallback)
Dark UI with three radio button options. The selected option has a vibrant pink and blue neon circle drawn around it with an elastic, bouncy animation.

Neon Elastic Stroke Radio Button

demo & code

This Neon Elastic Stroke Radio Button reimagines the standard form input as a high-energy, futuristic interface element. When selected, two overlapping SVG circles (one pink, one blue) animate around the checkmark area with a satisfying elastic “bounce.” The effect mimics a neon light tube flickering on, enhanced by CSS drop-shadow filters and mix-blend-mode for a vibrant, glowing finish.

Level: Intermediate
Browser Support: Chrome 50+, Edge 79+, Firefox 50+, Safari 10+
Split-screen interface where the left column images slide and crossfade in sync with the scrolling right column, featuring progress indicators.

Scroll-Driven Image Swapper

demo & code

This Scroll-Driven Image Swapper demonstrates the bleeding edge of web animation. It uses the native CSS Scroll-driven Animations API to create a complex parallax-like effect where two columns of different heights scroll in sync. As you scroll, the images in the shorter column slide and crossfade to match the context of the taller column. Crucially, the code implements a Progressive Enhancement strategy: it checks for native browser support and falls back to GSAP ScrollTrigger for browsers that haven’t implemented the spec yet.

Level: Advanced
Browser Support: Chrome 115+, Edge 115+. Firefox/Safari (via GSAP Polyfill)
Full-screen red navigation menu revealing through four vertical staggered panels using CSS clip-path and GSAP.

Staggered Panel Curtain Menu

demo & code

The Staggered Panel Curtain Menu is a creative full-screen navigation concept that breaks the traditional “fade-in” mold. It uses a series of vertical panels that drop down at slightly different intervals, creating a sophisticated “curtain” reveal. This effect is achieved by combining the precision of GSAP with the flexibility of CSS clip-path and variable fonts, making it an ideal choice for high-end creative portfolios or modern agency websites.

Level: Intermediate
Browser Support: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
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: Chrome 60+, Edge 79+, Firefox 60+, Safari 11+
A digital photo of a serene landscape being physically torn in half from top to bottom, revealing another photo underneath, rendered in 3D.

Tearing Paper Photo Gallery

demo & code

This Tearing Paper Photo Gallery is a technical marvel that simulates the physical act of ripping a photograph in half. Unlike simple 2D masking effects, this component uses WebGL (Three.js) to deform the geometry in 3D space. As the user drags downward, the “paper” mesh splits, rotates, and tears along a procedural edge, complete with lighting and shadow effects generated by custom shaders.

Level: Advanced
Browser Support: Chrome 90+, Edge 90+, Safari 15+, Firefox 90+
A 3D cube displaying photographs on its faces, with the side faces appearing darker due to a simulated lighting effect.

Draggable 3D Cube with Dynamic Lighting

demo & code

This Draggable 3D Cube goes beyond standard CSS 3D transforms by implementing a custom “lighting engine” using JavaScript. As the user drags to rotate the carousel, the opacity of each face is dynamically calculated based on its angle relative to the viewport. This creates a realistic shading effect - faces facing the viewer are bright and fully opaque, while those turning away fade into the background, enhancing the perception of depth without using WebGL.

Level: Intermediate
Browser Support: Chrome 90+, Edge 90+, Safari 14+, Firefox 88+
A circular arrangement of landscape photographs floating in 3D space on a black background, with a vignette fading the edges.

Draggable 3D Parallax Image Ring

demo & code

This Draggable 3D Parallax Image Ring creates a high-end, immersive gallery experience often associated with WebGL, but built entirely with DOM elements and GSAP. It arranges images in a 3D circle that users can spin with a swipe or mouse drag. The standout feature is the calculated parallax effect: as the ring rotates, the background position of each image shifts in the opposite direction, creating a convincing illusion of depth and window-like transparency.

Level: Advanced
Browser Support: Chrome 90+, Edge 90+, Safari 14+, Firefox 88+
A 3D cube floating in a dark space, with different scenic photographs mapped to each of its six faces, rotated slightly to show depth.

Interactive 3D Photo Cube

demo & code

This Interactive 3D Photo Cube creates a spatial navigation experience where a user explores six images mapped onto a cube by moving their cursor. Unlike standard sliders, it utilizes CSS 3D transforms orchestrated by GSAP to create a seamless, physics-like rotation. The snippet also features a “window-pane” parallax effect where the background images shift slightly inside their frames, adding an extra layer of depth.

Level: Intermediate
Browser Support: Chrome 90+, Edge 90+, Safari 14+, Firefox 88+
Abstract representation of an image breaking into particles, swirling around invisible centers in a fluid motion.

WebGL Voronoi Particle Transition

demo & code

This WebGL Voronoi Particle Transition is a cutting-edge visual effect that reimagines the standard image slider. Instead of manipulating DOM elements or simple textures, it converts images into a massive system of particles (one for every pixel). During transitions, these particles are subjected to a mathematical storm driven by Voronoi diagrams, creating a liquid, swirling distortion effect that feels organic and computational.

Level: Advanced
Browser Support: Chrome 90+, Edge 90+, Safari 15+, Firefox 90+
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: Chrome 80+, Edge 80+, Safari 13+, Firefox 75+
A neon blue SVG circle in the process of being 'unwrapped' into a flat horizontal line against a dark background.

GSAP SVG Circle Unwrapping Animation

demo & code

This GSAP SVG Circle Unwrapping Animation is a masterclass in visual sleight of hand. Instead of mathematically morphing a curved path into a straight line (which often results in distorted, unappealing stroke widths), this component creates a seamless illusion. It splits a circle into two halves and synchronizes their movement with a dynamically generated straight line, making it appear as though the circle is being physically unrolled or “unwrapped” like a ribbon.

Level: Advanced
Browser Support: Chrome 80+, Edge 80+, Safari 13+, Firefox 75+
Dark button with a wand icon; on hover, purple dots float around it like magic dust, and the icon's stars twinkle

GSAP Sparkle Generate Button

demo & code

This GSAP Sparkle Generate Button adds a touch of magic to standard call-to-action elements. Designed for AI generation tools or creative apps, it features a sophisticated hover effect where particles (dots) spawn and float organically around the button. The animation is driven by GreenSock’s Physics2DPlugin, simulating gravity and velocity for a realistic “dust” movement.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Web page showing pizza ingredients like mushrooms and peppers flying onto a dough base as the user scrolls, creating a visual assembly effect

ScrollMagic Pizza Assembly Animation

demo & code

This ScrollMagic Pizza Assembly Animation transforms a standard product landing page into an interactive storytelling experience. As the user scrolls down, individual pizza ingredients - peppers, mushrooms, olives - fly in from different directions to assemble a complete pizza. The sequence is tightly choreographed using GSAP timelines pinned to the scroll position, giving the user direct control over the “cooking” process.

Level: Intermediate
Browser Support: Chrome 50+, Edge 15+, Firefox 45+, Safari 10+
A horizontal line of white dots on a blue background; the first dot is hitting the others, causing them to jump and squash with cartoon physics

GSAP CustomBounce Loading Loader

demo & code

This GSAP CustomBounce Loader demonstrates how to inject personality into a standard waiting state using cartoon physics. It depicts a kinetic chain reaction: a “driver” dot hits a line of idle dots, causing them to jump, squash, and stretch. This example showcases the power of GreenSock’s CustomBounce plugin to create realistic (yet stylized) material deformations.

Level: Intermediate
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Traditional Korean painting revealing itself through a black ink splatter mask effect on a textured paper background

Ink Transition Scroll Effect

demo & code

This Ink Transition Scroll Effect brings digital storytelling to life by mimicking the organic spread of ink on paper. Designed for a biography page, it reveals images using a “splatter” transition triggered by scrolling. It combines ScrollMagic for timing, GSAP for smooth text entry, and CSS Sprites for the complex ink mask animation.

Level: Advanced
Browser Support: Chrome 60+, Edge 79+, Firefox 55+, Safari 11+
Two side-by-side mobile app screens: one showing a list of shoes with Add to Cart buttons, the other displaying the cart contents with item controls

Animated Vue.js Shopping Cart

demo & code

This Animated Vue Shopping Cart Concept demonstrates how to combine reactive frameworks with imperative animation libraries for a seamless e-commerce experience. The component features a split-screen layout: a product catalog on the left and a dynamic shopping cart on the right. It relies on Vue.js for state management and GSAP for high-performance micro-interactions, specifically morphing the “Add to Cart” button into a checkmark icon upon interaction.

Level: Intermediate
Browser Support: Chrome 80+, Edge 80+, Firefox 75+, Safari 13.1+
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: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
Split-screen website layout with pastel sections, large typography, and artistic photography demonstrating parallax scrolling and text reveal effects

Smooth Parallax Scroll Layout

demo & code

This GSAP ScrollSmoother Parallax Gallery represents a high-end implementation of scroll-based storytelling suitable for portfolios or luxury brand landing pages. It leverages the full power of the GreenSock ecosystem - specifically the premium ScrollSmoother and SplitText plugins - to create a “buttery” smooth scroll experience where content reveals itself with elegant, staggered animations and depth-inducing parallax.

Level: Advanced
Browser Support: Chrome 80+, Edge 80+, Firefox 75+, Safari 13+
A scrollytelling landing page showcasing various modern UI effects like parallax and custom cursors.

10 Simple Yet Cool Popular Effects in Modern UI

A comprehensive showcase of modern UI trends implemented as a scrollytelling landing page. It leverages GSAP ScrollTrigger for complex animations like horizontal scrolling and pinning, while vanilla JavaScript handles a custom cursor, dynamic loading, and parallax-like effects, all wrapped in a bold, monochrome aesthetic using CSS mix-blend-mode.

A spotlight effect where the mouse cursor reveals hidden text and a colorful gradient background.

GSAP Mask Mouse Effect

An intriguing user experience where hidden messages and a vibrant gradient background are revealed only under a “spotlight” following the cursor, featuring expansion animations upon interaction.

See the Pen GSAP Mask Mouse Effect.

An immersive scrolling experience where the user appears to fly through a cloud of photos.

Perspective Zoom Effect on Scroll

An immersive scrolling experience where the user flies through a cloud of photos that smoothly approach and fade away, revealing an elegantly emerging text.

A full-screen image slider where images transition with a diagonal wipe effect as the user scrolls.

Scroll-Triggered Image Stack with Gradient Mask Reveal

As the user scrolls down, images transition not by simple sliding or fading, but through a complex diagonal “wiping” animation controlled by dynamic gradients, all while the text content remains fixed over the changing background.

An interactive tooltip that animates differently based on how quickly the user moves the mouse away.

Simple Timeline with Different Enter and Exit Animations

On hover, the tooltip smoothly grows out from the button. A quick exit reverses this, but a delayed exit triggers a dramatic “drop” animation, spinning downwards as if falling.

Animated pagination where the active dot playfully jumps from one number to the next.

Dot Hopper Pagination

A playful SVG pagination component animated with GSAP. JavaScript dynamically generates color-coded rings and orchestrates a physics-based ‘jump’ animation where the active dot squashes, stretches, and arcs parabolically to its new position, changing color in mid-air.

See the Pen Dot Hopper Pagination.

A showcase of various kinetic typography effects, such as letters flipping and scrambling.

GSAP Animate Text

A showcase of 7 kinetic typography effects powered by GSAP.

See the Pen GSAP Animate Text.

A stylized digital flame animation that changes its intensity and shape based on user scroll.

On-Scroll Fire (Three.js + GSAP)

A stylized, “digital” flame that evolves over time but obediently transforms (fades or flares up, changes geometry) in response to user interaction (scrolling).

See the Pen On-Scroll Fire (Three.js + GSAP).

A showcase of 3D text effects, including an Oreo-like layered text that animates on scroll.

Oreo, Smash, Donuts, etc.

A suite of volumetric typographic experiments where depth is simulated by stacking multiple DOM layers along the Z-axis using transform-style: preserve-3d.

See the Pen Oreo, Smash, Donuts, etc..

Interactive reaction slider with a liquid, gooey effect as the user drags the handle between emojis.

SVG Bubble Slider

An interactive reaction slider powered by GSAP Draggable and TimelineMax, featuring a ‘gooey’ effect achieved via SVG feGaussianBlur and feColorMatrix filters.

See the Pen SVG Bubble Slider.

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.

Immersive scrolling webpage with a 3D particle field that moves with the user scroll.

GSAP ScrollSmoother and Three.js

An immersive scrolling experience blending smooth typography with a floating 3D particle field powered by Three.js. GSAP orchestrates the camera movement and dynamic text highlighting, creating a synchronized parallax journey.

See the Pen GSAP ScrollSmoother and Three.js.

Interactive circular thermostat dial that changes color as the temperature is adjusted.

Minimalist Thermostat

An interactive skeuomorphic thermostat dial powered by GSAP Draggable. Rotating the dial dynamically updates the temperature value and ambient color hue, with full support for scale switching (C/F) and dark mode.

See the Pen Minimalist Thermostat.

Dynamic infographic where an image shrinks and a number counter animates on scroll.

Scroll UI Animation

As you scroll down, a large image of a field shrinks and gets cropped by white blocks to focus attention, while a heading on the left counts up the percentage of water saved, changing color for emphasis. This creates the feel of a dynamic infographic.

See the Pen Scroll UI Animation.

An image of a burger being revealed through an animated, burger-shaped SVG mask.

Simple SVG Clip-Path Reveal

A rhythmic animation where an image is revealed through a burger-shaped SVG clip mask, with layers scaling in sequence via GSAP.

See the Pen Simple SVG Clip-Path Reveal.

A webpage with smooth scrolling and layered parallax effects on text and images.

Smooth Scrolling with GSAP ScrollSmoother

A premium smooth-scrolling interface orchestrated by GSAP’s ScrollSmoother plugin. The layout leverages CSS Grid for overlapping compositions, while declarative data-speed attributes drive distinct parallax velocities for text and imagery, creating a layered, depth-rich browsing experience.

Bear TODOs

Bear TODOs

A unique, “playful” application that uses advanced animation control to create a personalized and emotional user experience.

See the Pen Bear TODOs.

GSAP Pixi RGB Glitch

GSAP Pixi RGB Glitch

A highly specialized visual component leveraging Pixi.js for WebGL rendering and applying real-time filters.

See the Pen GSAP Pixi RGB Glitch.

Mailbox Submit

Mailbox Submit

A narrative micro-interaction where the UI morphs into a heart, triggers a mechanical mailbox sequence, and resets via a playful slide transition.

See the Pen Mailbox Submit.

CSS Scroll-Driven Content Wave

CSS Scroll-Driven Content Wave

A fluid, tactile selection interface where elements “live” and react to scroll, creating a “fisheye” or lens effect.

See the Pen CSS Scroll-Driven Content Wave.