Shine Border

Shine border is an animated background border effect.

Installation

pnpm dlx shadcn@latest add "https://vritti.thesatyajit.com/r/shine-border"

Props

Shine Border

PropTypeDefaultDescription
borderWidthnumber1Width of the border in pixels
durationnumber14Duration of the shine animation in seconds
shineColorstring | string[]"#000000"Color of the shine effect, can be a single color or an array of colors
classNamestring-Additional CSS classes
styleReact.CSSProperties-Custom inline styles