Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultUI componentsGooey Toolbar Tooltip
Tilted Parallax CardsBrowse all 182Torn Edge Reveal
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Gooey Toolbar Tooltip

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • CustomEase

Setup

npm i gsapregisterPlugin(CustomEase)

More like this

  • Tooltip
  • Gooey
  • SVG
  • Morph

Features.

  • One tooltip for the whole toolbar, in the same ink as the buttons
  • It pours out of the hovered button from a small dot, joined by a gooey neck that pinches off
  • Moving to a neighbour glides and resizes it to the new caption while the captions cross-fade with a blur
  • Leaving sinks it back into the button through the goo
  • A 120ms grace period, so sliding across the row glides instead of popping in and out
  • Works with keyboard focus; Escape hides it
  • Above or below the buttons, kept inside the toolbar's width, wrapping captions past 10em
  • Every button gets aria-describedby; only the visible caption is read
  • Respects prefers-reduced-motion: no goo or travel, just a short fade
  • GSAP and CustomEase; the script builds the tooltip and its own SVG filter

How to get it right.

Keep the ink shared

The goo fuses the button and the tooltip because they're the same colour. Retheme with --ttb-ink and both change together; give the buttons a different fill and the neck will look wrong.

Short captions

A few words read in a glance and keep the glide tidy. Captions wrap past 10em, which still works but makes the tooltip taller.

Mix button types freely

Icon-only, icon + label and label-only pills all work in one row. Give icon-only buttons an aria-label.

Leave room above the row

The tooltip sits 12px above the buttons. Keep about 4em clear above the toolbar, or use data-au-placement="bottom".

Variations.

  • Above — the default
  • Below — data-au-placement="bottom" for toolbars at the top of a screen
  • No goo — data-au-goo="0": it still grows out of the button and glides, without the neck
  • Your colours — --ttb-ink and --ttb-on-ink on the root

Where it fits.

  • Editor toolbars — formatting, playback or drawing controls
  • Media players — play, loop, speed, captions
  • App headers — a row of actions with icon-only buttons
  • Step bars — short steps whose captions explain them

Frequently asked.

Yes. Any element with data-ttb-button and data-ttb-caption inside the root shares the tooltip. Keep the .ttb_plate span in each so the button has its pill.

The tooltip, its caption faces, the goo twins and a measuring ruler are all built by the script, so the markup stays a plain row of buttons. destroy() removes them.

It reacts to mouse hover and keyboard focus. A tap focuses the button on most devices, which shows the tooltip until focus moves.

Yes. Each [data-au-toolbar-tooltip] is its own instance with its own tooltip and filter.

Set font-size on the root. Buttons, captions and the goo all scale with it.

Related components.

Pro

Image Slide Tabs

Click

Pro

Glow Band Sheet Modal

Click

Pro

Expanding Card Modal

Click