Skip to content
Buttons

PrismButton

A band of rainbow light runs across a glass button and follows the pointer, like light through a prism.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—Button label.
onClick() => void—Click handler.
colorsstring[]6 spectrum coloursSpectrum colours, left to right.
classNamestringglass blockReplaces the default look.