elastic slider
proGet the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.
A volume slider micro-interaction where the track is strung like a string. A dark glass card shows "Volume", the headphones' name, a big percentage and a speaker icon, on a near-black stage lit violet from behind. A demo cursor drags the knob four times. From 30 to 78 %, the string bends down under the knob and vibrates when it's let go. To 100 % and past it, the knob stretches past the end of the track like a rubber band and springs back. Down to 0 %, the speaker's waves fade one by one and a cross draws in: muted. Back to 30 %, the sound returns and the loop starts again. The percentage rolls like an odometer, its columns appearing as the number grows; the tick marks under the track light up behind the knob and dip with the bend; the glow behind the card brightens and dims with the volume; the lit part of the string thins as it stretches. The headphones, Velmoor One, are invented. No images: inline SVG for the string, knob and icon (Lucide's volume icons), CSS gradients and shadows for the card, a fine film grain, Inter for the type, a 1080 × 1080 stage that scales to fit any window, one render(t) function for every frame and a frame-exact recorder (?rec and window.__render). Reduced motion shows the string at its deepest bend as a still.
what you get
- prompt
- Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
- project
- The Vite + React source code as a .zip, ready to run.
- figma file
- The editable design as a .fig file to import into Figma.
what's inside
- slider
- volume control
- card
- counters
- spring physics
- cursor animation
- autoplay loop
- film grain
- frame-exact recorder
stack
- react
- vite
- typescript
- svg
fonts
Inter
Free fonts, linked in the prompt.
colors
- #060608
- #16141F
- #D9D3FF
- #A08CFF
- #6D5DFC
- #F7F6FB
- #F2F1F6
license
With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.
read the license

