Velcro
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderVelcro(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-velcroAbout this component
A grip slider made of hook-and-loop tape: the track is the fuzzy loop side and the fill is the hook strip pressed onto it. Push the tab forward and the strip presses down; pull it back and it rips off with a shiver, tufts of fibre springing up where it tore.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Spring
- Fill
Techniques4
- Gradient
- Keyframes
- CSS variables
- Spring
Accessibility
Keyboard and screen readers
A native range input named Grip with the percentage as its value text; the tape is aria-hidden.
Reduced motion
The press, rip and tufts are off.
Use it in anything you build, commercial and client work included. Licence