Sequins
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderSequins(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/slider-sequinsAbout 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