Morphing Accordion
An FAQ accordion where each answer pours out of its question pill like liquid, briefly merging with it before settling into a clean rounded panel.
One of 68 GSAP components in React, Vue and HTML.
On mobile
Take the free components with you.






In React, Vue and HTML, in your inbox, ready when you're back at your desk.
How it's built.
The liquid effect comes from a blur-and-sharpen filter, and that filter destroys anything thin - run text through it and the letters smear into mush. So the accordion is really two layers: the liquid lives on solid dark shapes behind each row, and the real question and answer sit on top, never touched by the filter. When you open a row, the answer shape pours out of the pill and the filter makes the two briefly stick together like liquid, then the blur fades away and they rest as two clean shapes.
The corners took the longest. While the blur is live the filter redraws every corner rounder than it really is, so the panel's corners looked like they were animating even though they weren't. The fix was giving each shape a sharp twin outside the filter that moves with it and owns the visible edge - the filtered copy is only there to feed the merge. The open has a bit of bounce to it and the close settles calmer on purpose, so closing never wobbles the text.
Past that it's yours. Drop in your own questions and answers, make the liquid thicker or barely there, let one row open at a time or several, and pick how bouncy the pour is. Keyboard works, and with reduced motion on it just opens instantly.
What you'll need.
Install
- GSAP
- CustomEase
- SplitText
Attributes, tips, use cases and full code are part of access.
The preview and provenance stay public. Tune-it docs, the data-anm-* attribute table, real-world use cases and the copy-ready code unlock the moment you sign in.
Frequently asked
- Does Morphing Accordion work with React and Vue?
- Morphing Accordion ships as React (Next.js included), Vue 3 (Nuxt included), plain HTML/CSS/JS - the same animation in each format. The React version uses the official useGSAP hook with cleanup handled; the Vue version is a real single-file component with <script setup>.
- Do I need GSAP to use Morphing Accordion?
- Yes. Morphing Accordion is built on GSAP directly, and GSAP has been 100% free for commercial use, including every plugin, since version 3.13. The component page lists exactly what to install.
- Can I customize Morphing Accordion without editing code?
- Morphing Accordion exposes 5 tunable controls in the Customize panel on this page - drag the values, watch the live preview respond, and the code you copy carries your exact settings.
- Is Morphing Accordion free?
- Morphing Accordion is part of the Annnimate Library, a paid subscription (from EUR 249/year). The live preview and customization run free on this page; the paste-ready code is for members.
- Can I use Morphing Accordion in client projects?
- Yes. The Annnimate license covers commercial and client work - ship Morphing Accordion on as many projects as you build, with no attribution required.
- Does Morphing Accordion respect prefers-reduced-motion?
- Yes. Every Annnimate component handles prefers-reduced-motion via gsap.matchMedia, so users who opt out of motion get an effectively instant, readable state.
