Sequins

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-sequins

About this component

A shine slider made of reversible sequins: two staggered rows on fabric, matte on one side and mirror-bright on the other. Brushing the thumb forward flips each sequin it passes to the bright side in a ripple spreading out from the thumb, the bright ones glinting now and then.

Dependencies
None
Difficulty
Advanced
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • State change
  • 3D
  • Delay stagger

Techniques4

  • preserve-3d
  • 3D transform
  • Pseudo elements
  • Transition delay stagger

Accessibility

Keyboard and screen readers

A native range input named Shine with the percentage as its value text; the sequins are aria-hidden.

Reduced motion

They swap faces without turning or glinting.

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

More sliders

See all
SlacklineGet code
SmokeGet code
ToothpasteGet code
TreadGet code