Gradient Border

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-gradient-border

About this component

A silver highlight spins continuously around the button border; on hover it brightens to white and casts a soft blurred halo. CSS @property angle and colour, no dependencies.

Triggers

  • Hover
  • Continuous
  • Border

Techniques

  • Conic gradient
  • Keyframes
  • @property

Difficulty

Intermediate

Accessibility

Reduced motion

Border spin animation paused under prefers-reduced-motion.

Use it in anything you build, commercial and client work included. Licence

More buttons

See all
Ink StampGet code