ButtonsNew

Shimmer Button

A spark of light runs around the button edge, and it glows softly from inside on hover.

Customize

shimmerColor
background

Based on Shimmer Button (MIT license) · Terms of use

More in Pro

View all

Props

7 properties
PropertyTypeDefaultDescription
childrenReactNode"Get started"Button label.
shimmerColorstring"#ffffff"Color of the spark running along the edge.
shimmerSizestring"0.05em"Thickness of the glowing edge.
shimmerDurationstring"3s"Spark speed, e.g. 3s.
borderRadiusstring"100px"Corner radius.
backgroundstring"rgba(0, 0, 0, 1)"Button background.
classNamestring—Tailwind classes for the wrapper.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all