Forge
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderForge(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-forgeAbout this component
A temper slider whose fill is a bar of metal heating up: cold iron at the start, glowing brighter toward the thumb until it is white hot at the tip, the glow around it growing with the heat, and dragging forward throws sparks off the hot end.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Glow
- Fill
Techniques4
- Gradient
- CSS variables
- Keyframes
- Event position
Accessibility
Keyboard and screen readers
A native range input named Temper with the temperature as its value text; the drawing is aria-hidden.
Reduced motion
No sparks fly.
Use it in anything you build, commercial and client work included. Licence