Wake
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderWake(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-wakeAbout this component
A speed slider on water: the thumb is a buoy bobbing in the channel, dragging it leaves a wake of spreading ripples behind it, wider the faster you go, and the churned, foamy water behind it is the fill.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Ambient
- Fill
Techniques4
- Keyframes
- CSS variables
- Gradient
- Event position
Accessibility
Keyboard and screen readers
A native range input named Speed with the value in knots; the water is aria-hidden.
Reduced motion
The water and buoy hold still and no ripples are drawn.
Use it in anything you build, commercial and client work included. Licence