Elastic Slider
A budget slider drawn as a ruler of ticks. The ticks swell in a smooth wave that follows your cursor, fill with the accent up to the value, and stretch apart like an accordion when you pull past either end, then spring back. The big number rolls with Number Flow, and a minus/plus pill steps it by a fixed amount.
Usage docs and preview are being generated by the coding agent. Registry metadata is shown meanwhile.
building preview…
The live preview has not been built yet.
See how it was built Installation
pnpm dlx shadcn@latest add @tween-ui/elastic-slider
Requires @tween-ui in the registries of your components.json (shadcn adds official directory namespaces automatically).
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
prompt.md
Use the "Elastic Slider" component (tween-ui/elastic-slider) from its shadcn registry.1. Install it with: npx shadcn@latest add @tween-ui/elastic-slider2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Files & dependencies
- components/tweenui/elastic-slider.tsx→ components/tweenui/elastic-slider.tsx
dependenciesgsap@gsap/react@number-flow/react
Looks similar, elsewhere
There is no screenshot of this item to compare yet.