Gooey Tabs
FreeAccessible 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 glass segmented control with a lens that slides between options.
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
options | string[] | "Day, Week, Month, Year" | Text of the options. |
value | string | "" | Selected option (controlled mode). |
defaultValue | string | "" | Initial option (uncontrolled mode). |
onChange | (value: string) => void | "" | Called when another option is chosen. |
label | string | "Options" | Accessible label of the group. |
zoom | number | 1.22 | How much the lens magnifies what is underneath (1 = none). |
blur | number | 10 | Blur of the background on the rail, in px. |
refraction | number | 1 | Strength of the lens refraction (0 = light isn't bent). |
stiffness | number | 320 | Stiffness of the lens spring: higher feels snappier. |
autoplay | number | 0 | Seconds between automatic changes (0 = off; stops on interaction). |
scene | boolean | false | Draws an animated color scene behind it (to see it refract). |
1Install the package
npm i furin-ui2Import it
import { GlassSegmented } 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 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