Skip to content
Buttons

LiquidFlow

Colour floods in from the exact point the pointer enters and drains out where it leaves. Keyboard focus floods from the centre.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
fillstring"#a78bfa"Colour that floods the button.
fillTextstring"#1a1530"Label colour while filled.
durationnumber0.5Seconds the flood takes.
classNamestringviolet outline pillReplaces the default look.