Loom
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderLoom(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-loomAbout this component
The track is a row of warp threads on a loom: the thumb carries the weft through, the woven cloth behind it is the fill, and the reed beats each new row in as you drag forward.
- Dependencies
- None
- Difficulty
- Beginner
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers2
- State change
- Fill
Techniques4
- Conic gradient
- Gradient
- Keyframes
- CSS variables
Accessibility
Keyboard and screen readers
A native range input named Woven length with the value in centimetres; the loom is aria-hidden.
Reduced motion
The reed does not beat.
Use it in anything you build, commercial and client work included. Licence