Skip to content

Gooey Tabs

Accessible tabs whose selection is a blob of liquid: it stretches toward the new tab, thins at the neck and merges when it arrives.

Plan
Free · MIT
Dependencies
React only
Props
9 (7 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
tabsstring[]"[\"Home\", \"Projects\", \"Team\", \"Contact\"]"Tab labels (or { value, label }).
valuestring""Active tab (controlled mode).
defaultValuestring""Active tab on mount (uncontrolled mode).
colorstring"#EEF1FF"Color of the selection liquid.
textColorstring"#A8B0C6"Color of the inactive tabs.
activeTextColorstring"#0B0C12"Color of the active tab, over the liquid.
gooeynessnumber7How sticky the liquid is (blur of the filter).
autoplaynumber0Seconds between automatic changes (0 turns it off); stops on touch.
onChange(value: string) => void""Called when the tab changes.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { GooeyTabs } 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.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • 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

  • A knurled metal knob you turn by dragging.

    Navigation

  • 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