vibran

Range slider with elastic tooltip

Portuguese name: Slider com balão elástico

A range slider with a value bubble on the thumb. Dragging fast tilts and stretches the bubble, which springs back to rest when you stop. Works with mouse, touch and keyboard.

Preview of Range slider with elastic tooltip running live
Copy the promptAdjust colors and speed

When to use it

Price, budget, search radius, volume, numeric filters. It sits on a real range input, so forms and the keyboard behave normally. Use data-prefixo and data-sufixo for the unit and data-fixo="sim" when the value should always show, as on phones where there is no hover.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="slider-balao" data-prefixo="R$ "><label for="v">Orçamento</label><input id="v" type="range" min="20" max="500" step="10" value="150"></div>

More inputs effects

All 14 inputs effects →