Atelier UI

Search components…

Search components…

Gradient Border Button

Button with a continuously rotating conic-gradient border; colors and speed are configurable.

Edit in sandbox

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

Props

GradientBorderButtonProps

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

PropTypeDefaultDescription
speednumber3Seconds per rotation
colorsstring"#a855f7Conic-gradient color stops

Install

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

More like this