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 Accordion
Glow Wordmark FooterBrowse all 182Gooey Filter Chips
  • 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 Accordion

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
  • SplitText

Setup

npm i gsapregisterPlugin(CustomEase, SplitText)

More like this

  • Accordion
  • Gooey
  • Elastic
  • Split text
  • SVG

Features.

  • The answer panel pours out from under its pill on an elastic ease, held to the pill by a stretching goo neck
  • The goo clears part-way through, so it rests as a clean capsule above a rounded panel with sharp corners
  • Closing drains it back into the pill on a calm curve, with the goo returning for the hand-off
  • The plus turns 135° into a cross
  • The answer's lines rise in one after another through masks, split fresh at the current width every time
  • One open at a time by default; data-au-single="false" lets several stay open
  • Arrow keys move between questions and wrap; each question is a real <button>
  • The script sets aria-expanded, aria-controls and aria-labelledby, and makes closed panels inert
  • Re-measures after a width change, so the pills and panels keep their shape
  • Respects prefers-reduced-motion: every change jumps to its end state, no goo, no line rise
  • GSAP, CustomEase and SplitText, with an SVG filter the script builds itself

How to get it right.

Keep the questions short

The pill is a capsule. One-line questions keep every pill the same height, which is what makes the list read as a set. Two lines work; more starts to look like a blob.

Keep the answers short

The panel pours to the answer's full height in one go. One line is enough to see the pour; the line rise shows its stagger from two lines up, and five is about the limit.

Adding a heading or numbers

It ships with neither. Add <h2 class="gac_title"> above .gac_list (or pass title in React) and <span class="gac_index">01</span> before each .gac_question.

Keep the pills on a plain background

The goo filter works on the pill colour. On a flat background the neck looks like liquid; over a photo or gradient the pills still work but the hand-off loses its edge.

Tune the goo, not the shapes

data-au-goo sets how thick the neck gets. 6–12 reads as liquid. Above that the neck gets heavy; at 0 the panel simply slides out of the pill.

Variations.

  • FAQ — the default: one open at a time, lines rising, first item open
  • Several open — data-au-single="false" for a list people compare side by side
  • Quiet — data-au-lines="false": the pour still plays, the answer is simply there
  • No goo — data-au-goo="0": the panel slides out of the pill on the same elastic ease
  • Slow pour — data-au-duration="1.2" for a heavier, syrupy open
  • Your colours — override --gac-pill, --gac-pill-hover, --gac-fg, --gac-answer, --gac-muted and --gac-focus on the section

Where it fits.

  • FAQ sections — on product, pricing or support pages that want some character
  • Playful brands — food, drink, kids' products, anything that suits a liquid feel
  • Feature details — a short list of features, each opening to a sentence or two
  • Onboarding steps — each step as a question, the detail as the answer

Frequently asked.

Yes. Leave data-gac-open off every item.

The goo needs solid shapes with no text in them (the filter smears type), plus crisp copies on top so the corners stay sharp once the goo clears. The script adds those layers and one hidden <svg> of filters, and destroy() removes them again.

The line rise splits [data-gac-answer] into lines, so keep it to one paragraph with inline links. Put anything richer inside [data-gac-inner] outside the answer, or set data-au-lines="false".

Yes. Each [data-au-gooey-accordion] is its own instance with its own filters, and single only closes items in the same accordion.

Set font-size on the section. Everything inside is in em, and the goo scales with it.

Related components.

Pro

Image Slide Tabs

Click

Pro

Glow Band Sheet Modal

Click

Pro

Expanding Card Modal

Click