Atelier UI

Search components…

Search components…

Shiny Button

A diagonal white streak sweeps across on hover; sweep duration is adjustable.

Edit in sandbox

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

Props

ShinyButtonProps

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

PropTypeDefaultDescription
durationnumber1000Duration of the sweep in milliseconds

Install

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

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

More like this