Skip to content
Buttons

GravityButton

On hover each letter jumps, falls back under gravity and lands with a small bounce, one after another.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenstring—Button label, plain text.
onClick() => void—Click handler.
heightnumber10How high each letter jumps, in pixels.
staggernumber0.03Seconds between letters.
classNamestringviolet pillReplaces the default look.