Skip to content
Components75 / 118

Spark Button

A quiet button that lights up the whole section. Hover and colour blooms out across the section behind it, the button pops into hot pink glass with a warm highlight that follows you, and sparkles blink on around it, more the faster you move. Click for a ring of sparkles and a pulse of light.

ButtonSection lightSparklesSpringsSquash & stretchGSAP
Hover, then move fastClick for a burst

Tweak

LIVE

Text

Look

60px
#ff2d74
#e52bd8

Light up the section

Props

8 props
  • labelstring
    Button text.default "Make Better"
  • hrefstring
    Render a link.
  • onClick() => void
    Click handler.
  • sizenumber
    Height, px.default 56
  • floodboolean
    Light up the section behind it (needs isolate + overflow-hidden on the section).default true
  • fromstring
    Lit colour, left.default "#ff2d74"
  • tostring
    Lit colour, right.default "#e52bd8"
  • classNamestring
    Extra classes.