A range slider whose filled track follows the thumb and a value bubble floats above it, moving with the thumb and showing the formatted value; the bubble pops up on hover or drag and hides when idle. Tick labels mark the ends and the midpoint.
`--p` = (value − min) / (max − min). Track fill: `linear-gradient(90deg, accent var(--p×100%), track 0)`. Bubble `left: calc(var(--p) × (100% − 20px) + 10px)` (thumb width compensated) with `translate(−50%)`; it scales from 0.8 and fades over 0.15 s on `:hover`/`:active`/`:focus-visible`. Thumb styled for both WebKit and Firefox.
From prompt to a block in your page.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.