A glass segmented control with a lens that slides between options.
Navigation
A slider (role slider, full keyboard support) that stretches like rubber when dragged past its limits and snaps back with a bounce; the track squashes to preserve volume.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
min | number | 0 | Minimum value. |
max | number | 100 | Maximum value. |
step | number | 1 | Step between values. |
value | number | "" | Current value (controlled mode). |
defaultValue | number | 62 | Initial value (uncontrolled mode). |
onChange | (value: number) => void | "" | Called when the value changes. |
label | string | "Brightness" | Control text (also its accessible label). |
showValue | boolean | true | Shows the numeric value. |
unit | string | "%" | Suffix of the value, for example "%". |
stretch | number | 56 | How far it stretches past the limits, in px. |
icon | "brightness" | "volume" | "none" | "brightness" | Icons at the ends. |
color | string | "#F3F4F7" | Color of the fill. |
damping | number | 0.28 | Rebound when returning: 0.2 bounces a lot, 0.6 hardly at all. |
autoplay | boolean | false | Drags itself, overshooting the limits, until you touch it. |
1Install the package
npm i furin-ui2Import it
import { ElasticSlider } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Each file ships its own CSS: there's nothing else to install.
A glass segmented control with a lens that slides between options.
Navigation
Accessible tabs whose selection is a blob of liquid: it stretches toward the new tab, thins at the neck and merges when it arrives.
Navigation
A seamless infinite marquee: the cursor slows it down and nudges it with inertia, rows run in opposite directions, and keyboard focus pauses it.
Navigation