Shine Button

A button with a traveling paper sheen — direction, duration, intensity and ember tint are all tunable. Forever mode loops the sweep.

Draw

npx shadcn@latest add @clow/shine-button

Playground

props
<ShineButton>Open the book</ShineButton>

Examples

basic

Props

proptypedefault
childrentextOpen the book
variantdefault | glow | outline | softdefault
sizesm | md | lgmd
emberbooleanfalse
directionltr | rtl | ttb | bttltr
durationnumber750
intensitynumber0.55
foreverbooleanfalse