Orbit

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-orbit

About this component

A quiet pill whose only colour is a comet of pink, amber and violet light running round its edge and glowing onto the page. Hover adds a second comet and speeds them up.

Triggers

  • Hover
  • Border
  • Loop
  • Glow

Techniques

  • Conic gradient
  • Keyframes
  • Filter
  • Pseudo elements

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native button named by its label; the rim, glow and face are aria-hidden.

Reduced motion

The comet stops where it is, so the ring stays lit but still.

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

More buttons

See all
OverprintGet code
PatchGet code
PillowGet code
ReplyGet code