Iridescent

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-iridescent

About this component

A pearly foil pill whose pastel rainbow slides slowly at rest. Hover sweeps the whole spectrum across it with a scatter of glints; a press flattens the sheen.

Triggers

  • Hover
  • Click
  • Ambient
  • Gradient

Techniques

  • Gradient
  • Keyframes
  • Pseudo elements
  • CSS transition

Difficulty

Beginner

Accessibility

Keyboard and screen readers

A native button named by its label, with a :focus-visible outline.

Reduced motion

The foil stops sliding.

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

More buttons

See all
IsoGet code
KeycapGet code
LeanGet code
LettersGet code