Skip to content
Buttons

ShimmerCTA

A light sheen sweeps across the button now and then. Catches the eye without shouting.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
shinestring"rgba(255,255,255,0.35)"Colour of the sheen.
everynumber2.4Seconds of rest between sweeps.
classNamestringdark violet blockReplaces the default look.