Components / component

Liquid Fill Button

v1.0.0 · premium

A pill that floods with ink on hover: a pool rises and blobs swell and merge into it through a gooey filter.

Liquid Fill Button demo

Implementation

A pill that floods with ink on hover: a pool rises and blobs swell and merge into it through a gooey filter.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function LiquidFillButton({ children, href, onClick, type = 'button', size = 'md', disabled = false, ink, paper, 
  children: string;
  href?: string;

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · A pill that floods with ink on hover: a pool rises and blobs swell and merge into it through a gooey filter.

Frequently asked questions

Can I use several on one page?

Yes. Each button defines its own SVG filter with a unique ID, so they never conflict.

How is it kept fast?

Only transforms animate. The goo filter runs on a small element the size of the button, and reduced motion drops the filter entirely.