Pill Nav
FreeAccessible tabs (tablist, arrow keys, Home and End) with a pill that slides on a spring: the leading edge arrives first and stretches the pill as it crosses.
Navigation
A knurled metal knob you turn by dragging.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 64 | Current value (controlled mode). |
defaultValue | number | 64 | Initial value when not controlled from outside. |
onChange | (value: number) => void | undefined | Called every time the value changes. |
min | number | 0 | Minimum value. |
max | number | 100 | Maximum value. |
step | number | 1 | Step between values. |
label | string | "Volume" | Label below the knob. |
unit | string | "" | Unit shown next to the value. |
size | number | 140 | Knob diameter, in px. |
ticks | number | 11 | Number of major tick marks on the scale. |
accent | string | "#ffb13b" | Color of the lit tick marks. |
disabled | boolean | false | Disables the knob. |
1Install the package
npm i furin-ui2Import it
import { MetalKnob } 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.
Accessible tabs (tablist, arrow keys, Home and End) with a pill that slides on a spring: the leading edge arrives first and stretches the pill as it crosses.
Navigation
An accessible accordion (aria-expanded, regions, arrow keys, Home and End) whose regions open on a real spring: the height bounces as it lands and the content comes in from blurry to sharp.
Navigation
A tooltip (role tooltip) that follows the cursor on a spring and hangs from it like a tag: it tilts with speed and stretches a little as it moves. It also appears on keyboard focus.
Navigation