Skip to content
Buttons

ElasticTap

A press squashes the button like rubber and it springs back with a wobble.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
bouncenumber0.6How much it wobbles back, 0 to 1.
classNamestringviolet pillReplaces the default look.