r/webdesign • • 18d ago

made a liquid button

buttons deserve more love imo

81 Upvotes

15 comments sorted by

4

u/vibefarm 18d ago

I like the little snap when they separate.

2

u/dusanodalovic 18d ago

is it the svg blur plus color matrix goo trick, or something else? if it is, keep the label outside the filtered layer or the text goes soft. those filters also get heavy on cheap phones, so i'd test it on an old android

1

u/jo-chruszcz 17d ago

So satisfying! How did you build it?

1

u/Total-Reasonable 16d ago

Worth checking keyboard and reduced motion behavior too. Goo effects usually hang off hover and mouse position, so focus-visible often gets no feedback at all, and the filter can make the focus ring blurry or clip it. Wrap the animation in a prefers-reduced-motion check and give focus a plain solid outline outside the filtered element.

1

u/drickdittjavlakaffe 12d ago

I'm equally intrigued and for some reason disgusted, nice job

0

u/electro042 18d ago

got a link or demo? curious if you handled the liquid effect with svg filters or canvas.