Washi
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderWashi(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-washiAbout this component
A two-thumb range slider on grid paper: the chosen range is a strip of dotted pink washi tape, see-through and torn by hand at both ends. Each end has a round paper sticker to drag.
Triggers
- State change
- Fill
- Click
Techniques
- CSS variables
- clip-path
- Radial gradient
- CSS transition
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Two native range inputs named "From" and "To" by aria-label, each working with arrow keys, Home and End; the tape and stickers are aria-hidden. :focus-visible rings the sticker of the focused input.
Reduced motion
The stickers no longer spring.
Use it in anything you build, commercial and client work included. Licence