Reserve
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderReserve(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-reserveAbout this component
An arc slider made like a watch's power-reserve display: a sunburst guilloché dial, silver in light and midnight blue in dark, with applied indices round a steel arc. A polished steel ball rides the arc on a slim blued hand, filling it from red to gold.
Triggers
- State change
- Fill
- Gradient
Techniques
- CSS variables
- SVG
- stroke-dashoffset
- Conic gradient
- CSS transition
Difficulty
Advanced
Accessibility
Keyboard and screen readers
A native range input named "Power reserve" by aria-label, so arrow keys, Home and End work; the dial is aria-hidden. :focus-visible on the input rings the ball.
Reduced motion
The arm turns without easing.
Use it in anything you build, commercial and client work included. Licence