Atelier UI

Search components…

Search components…

Shimmer Button

Button with a sweeping shimmer; shine color, background and speed are configurable.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

ShimmerButtonProps

Also accepts all props of React.ComponentProps<"button">

PropTypeDefaultDescription
shimmerColorstring"#ffffff"Color of the sweeping shine
backgroundstring"linear-gradient(180deg, #27272a 0%, #09090b 100%)"Any CSS background value
durationnumber2.4Seconds per sweep

Install

$ npx shadcn@latest add https://chromotion.dev/r/shimmer-button.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this