Weld
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderWeld(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-weldAbout this component
A seam slider on two steel plates: the thumb is the welding tip and the fill is the bead it lays, a ridge of overlapping ripples. While you move it the arc flickers at the tip and the fresh metal behind glows, cooling back to grey over a couple of seconds when you stop.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Glow
- Fill
Techniques4
- Radial gradient
- CSS transition
- Keyframes
- CSS variables
Accessibility
Keyboard and screen readers
A native range input named Seam length with millimetres as its value text; the plates are aria-hidden.
Reduced motion
The arc does not flicker.
Use it in anything you build, commercial and client work included. Licence