Slider

Bare slider

A slider with no frame or label: a track with a filled part and a ring handle on the surface colour. Controlled from outside — the number, ticks and total are drawn by the surrounding block: a price calculator, seat picker, request limit.

What you can change

  • value, min, max and step
  • surface — the handle colour to match the block surface
  • glow — a neon glow for dark blocks

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/slider-013?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The component is self-contained: one file, no dependencies, its own palette in the local --vibeui-slider-013-* variables. Client-side: "use client" for onChange. Controlled: value and onChange must come from outside, the block holds the state. The root is the input[type=range] itself, so width and spacing come from the container. The travelled part of the track is filled by a gradient at the percentage (--vibeui-slider-013-fill). The surface prop is the handle colour inside the ring: the block passes its own surface so the ring sits on «its» background. The glow prop switches on a neon glow of the track and handle for dark blocks.

Tags

  • slider
  • range
  • bare
  • controlled
  • calculator
  • form
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…