Fibre
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initSliderFibre(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-fibreAbout this component
A bandwidth slider drawn as a fibre-optic bundle: six glass strands in a dark sheath, lit up to the thumb, with pulses of light racing along each strand, faster and brighter as the bandwidth climbs, while the bundle's polished end blooms at the thumb.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Glow
- Loop
Techniques4
- Keyframes
- CSS variables
- Gradient
- Transform only
Accessibility
Keyboard and screen readers
A native range input named Bandwidth with the rate as its value text; the bundle is aria-hidden.
Reduced motion
The pulses hold still.
Use it in anything you build, commercial and client work included. Licence