Elastic Slider
FreeA 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.
Navigation
A bar of icons that magnify under the cursor, on glass.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
items | DockItem[] | "6 icons" | Dock icons: { label, icon, colors?, active? }. |
size | number | 46 | Base size of each icon, in px. |
magnify | number | 1.75 | How much the icon under the cursor grows (1 = no growth). |
reach | number | 110 | Distance, in px, within which the cursor still magnifies icons. |
blur | number | 1.5 | Blur of the background behind the glass, in px. |
refraction | number | 1 | Strength of the refraction at the dock's edge (0 = light isn't bent). |
scene | boolean | false | Draws an animated color scene behind it (to see it refract). |
onSelect | (label: string) => void | "" | Called when an icon is pressed. |
1Install the package
npm i furin-ui2Import it
import { Dock } 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 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.
Navigation
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