Skip to content
Buttons

RippleCore

Every press sends a ripple out from the exact point you touched. Enter and Space ripple from the centre.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
colorstring"rgba(255,255,255,0.55)"Colour of the ripple.
durationnumber0.6Seconds one ripple lasts.
classNamestringviolet blockReplaces the default look.