Desktop optimized

Please maximize your browser window or use a larger screen to explore the component library.

Go to home

Ferrofluid Drag

An interactive image transition component. Applies a mathematical SVG Gooey filter to a grid of beads. On hover, the beads calculate their proximity to the cursor and violently tear outward like magnetic fluid, revealing the content underneath.

Last Modified:Aug 17, 2026

Install

CLI

ferrofluid-drag
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/ferrofluid-drag.json

Or install a specific demo variant:

ferrofluid-drag-demo
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/ferrofluid-drag-demo.json

Manual

1. Install Dependencies

Dependencies
$pnpm add gsap @gsap/react clsx tailwind-merge

2. Add Source Code

Props

PropTypeDefaultDescription
imageUrlstringRequiredThe URL of the image to display on top.
childrenReact.ReactNodeRequiredThe content to reveal underneath the image.
columnsnumber12Number of columns in the fluid grid.
rowsnumber12Number of rows in the fluid grid.
durationnumber1.2Duration of the tear explosion for each bead.
staggerAmountnumber0.4Total time allocated for the stagger wave to traverse the grid.
easestring"power2.out"GSAP easing string.