Animate UI

Liquid Button

A button that fills on hover.

Made by imskyleen
Edit on GitHub

Installation

Usage

<LiquidButton>Liquid Button</LiquidButton>

API Reference

LiquidButton

Animate UI API Reference - Liquid Button Primitive
PropTypeDefault
variant?
"default" | "destructive" | "secondary" | "ghost"
default
size?
"default" | "sm" | "lg" | "icon"
default
delay?
time
0s
fillHeight?
percentage
3px
hoverScale?
number
1.05
tapScale?
number
0.95
...props?
HTMLMotionProps<"button">
-

CSS Variables

PropTypeDefault
--liquid-button-color?
color
-
--liquid-button-background-color?
color
-

Credits

Built by Skyleen. The source code is available on GitHub.