04.40 · Micro-Interactions

Gooey Menu

Small buttons ooze out of a round button like liquid. Best for quick actions.

Click it

Click or tap the round button to open the menu and again to close it, or press Show me.

Try it

Change a setting, then try it again or press Show me.

Layout

Where the small buttons settle once they pop out.

How gooey

How far the liquid stretches before it lets go.

Speed

How quickly the buttons pop out and are pulled back.

More optionsFewer options

Turns the goo off to show the circles that move underneath.

Button color

The color of the liquid; the icons stay dark.

Copy the prompt

Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.

Add a gooey menu to [the round action button on your page]. Pressing it lets smaller buttons ooze out like drops of liquid and pop into place; pressing again pulls them back in. Draw plain circles of one color on a layer under the icons and run that layer through a filter that blurs it, then sharpens the blurred edge again, so circles that touch melt together. Move them only with transforms, keep the filtered layer small and blur less on phones. Make every button a real button the keyboard can reach, tell screen readers whether the menu is open, and let Escape close it. If the visitor has reduced motion turned on, fade the buttons in place without the stretch. Match the settings listed below.

Replace the words in brackets with your own element. Your settings are added at the end.

Free and open source. If this helped, a star on GitHub helps other people find it.

Star on GitHub

What it is

The full explanation is in README.md.

Good for

  • Quick actions
  • Share menus
  • Mobile apps
  • Playful brands

Avoid on

  • Long menus
  • Formal sites