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
VaultButtonsGooey Fan Menu
Gooey Filter ChipsBrowse all 182Gooey Image 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 Fan Menu

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

Setup

npm i gsap

More like this

  • Menu
  • Gooey
  • SVG

Features.

  • Tools fan out of a round button, each stretching a liquid neck back to it until it snaps free
  • Tools never melt into each other: each one has its own goo group with a copy of the button
  • The plus turns 45° into a cross on open and back on close
  • Five layouts: arc, line, grid, radial and cluster (a loose arc with fixed jitter)
  • Pressing again mid-flight retargets from where the tools are, with no snap
  • Keyboard: Enter or Space opens and focuses the first tool, arrows cycle, Escape closes and returns focus
  • A crisp focus ring follows the focused tool, drawn outside the filter so it never melts
  • A click anywhere outside closes it
  • Respects prefers-reduced-motion: no goo, a quick 0.15s open and close
  • GSAP only; the script builds its own SVG filter

How to get it right.

Leave room around it

The tools travel up to about 16em from the button (the line layout), and the radial layout goes below it too. Place the button where that space is free, and keep it off the edges of the screen.

Keep it on a plain background

The goo is a blur-and-threshold filter on the fill colour. On a flat background the necks look like liquid; over images they still work but lose their edge.

Use icons people know

The tools are icon-only buttons. Give each one an aria-label and pick icons that need no caption: pencil, eraser, share, layers.

Five tools is the sweet spot

All the layouts are tuned around four to six tools. More than that crowds the arc and stretches the line.

Variations.

  • Arc — the default: a 160° fan straight up
  • Line — data-au-shape="line": a column above the button, like a speed dial
  • Grid — data-au-shape="grid": three columns stacked upward
  • Radial — data-au-shape="radial": a ring all the way round
  • Cluster — data-au-shape="cluster": a loose, hand-placed arc
  • No goo — data-au-goo="0": the tools fly out clean
  • Your colours — override --gfm-fill, --gfm-icon and --gfm-focus; resize with --gfm-fab and --gfm-tool

Where it fits.

  • Drawing and editing apps — a floating tool picker
  • Mobile layouts — a speed-dial action button in a corner (use line or arc)
  • Share buttons — one button that fans out the networks
  • Playful product pages — a quick menu that shows some character

Frequently asked.

Nothing beyond the click: each tool is a plain <button>, so add your own handlers (or links). The menu stays open until the round button, Escape or a click outside closes it.

The goo needs a copy of the round button inside each tool's filter group, and the focus ring has to sit outside the filter to stay sharp. The script adds both plus one hidden <svg>, and destroy() removes them.

Yes. Set --gfm-fab and --gfm-tool on the root, or font-size to scale everything. The layout distances scale with the font size too.

Yes. Each [data-au-gooey-fan-menu] is its own instance with its own filter.

No. Load gsap before the script; no plugins are needed.

Related components.

Pro

Arrow Swap Button

Hover

Free

Rising Fill Button

Hover

Free

Circle Fill Button

Hover