Sweep button

An animated gradient border button for React. A soft sweep of colour travels round its edge, and you can set the seconds for one lap and how strong the glow is. Useful for call to action buttons, pricing pages and product launches.

Sweep button, at rest

Hover · included with Bencho Pro

Sweep button props

NameTypeDefaultDescription
speednumber4.5sSeconds for one lap. From 1.5 to 10s.
glownumber30How strong the colour is. From 10 to 100.
cornernumber24pxCorner. From 0 to 24px.

Part of Pro. Use it anywhere, just don't resell it. Licence

More blocks

More hover blocks