Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Animated FAQ

Animated FAQ

A button-controlled FAQ accordion built on Motion, with smooth or elastic opening, optional open on hover, staggered answers and muted or accent fills, for pricing pages, product objections, landing pages, and conversion-focused answer sections.

motionLucide-react
DemoDemoDemo

Tune the Real Props

Accent Color

Colour of the accent fill.

Overview

Animated FAQ is a button-controlled accordion built on Motion for objections that appear at the decision point.

Use it on pricing, landing, product, and comparison pages where the visitor needs a specific answer before clicking the CTA. The page job is objection handling: questions open cleanly, answers remain crawlable, and the interaction clarifies state. Each panel grows to its natural height with a smooth ease by default, or with springs when elastic is on (bounce sets the overshoot); after a short delay, each part of the answer fades in and rises into place one after another (stagger). An optional muted or accent fill grows down from the top of an open item, the icon is a turning chevron or a plus that turns into a minus, and openOnHover opens an item while a mouse rests on it. Only one answer is open at a time unless allowMultiple is set.

In production, the risk is turning answers into hidden decoration. Each question title is a native button with aria-expanded and aria-controls, each answer is a region labelled by its button and stays inert while closed, and with reduced motion the panel, fill, icon and answer text all change instantly, with no delay or stagger.


Usage Code

page
1import AnimatedFaq from "@/components/effects/animated-faq";2 3const page = () => {4  return (5    <section className="min-h-screen bg-black px-8 py-20 text-white">6      <h1 className="mb-12 text-center text-5xl">Frequently asked questions</h1>7      <AnimatedFaq8        allowMultiple={false}9        openOnHover10        elastic11        bounce={0.3}12        duration={0.45}13        delay={0.1}14        stagger={0.05}15        fill="accent"16        accentColor="#ff6b00"17        iconMode="plus"18        iconPosition="right"19      />20    </section>21  );22};23 24export default page;

Example Production Use Case

A pricing page can place Animated FAQ below plan cards so questions about contracts, refunds, implementation, and support open exactly where hesitation appears, with fill="muted" marking the open item. The default export renders three sample questions; for your own copy, compose the FAQGroup, FAQWrapper, FAQTitle and FAQContent parts exported from the same file.


Best Used For

  • Pricing pages where objections need to open beside the CTA.
  • Product landing pages where answers should stay crawlable but not dominate the first screen.
  • Sales pages where accordion state should be clear for keyboard and screen-reader users.

Not For

Not for hiding essential policy, pricing, support, or legal details that users must see without opening an accordion.


Performance Budget

Keep answer panels light. Every open and close animates the panel's height with Motion, which is layout work, and each direct child of the answer gets its own fade and rise, so keep answers to a few short blocks and avoid opening many long answers at once with allowMultiple. Answer copy is normal HTML that stays in the markup when closed (collapsed to zero height), so search engines can still read it.


Accessibility and Mobile

Each question title is a real button with aria-expanded and aria-controls pointing at its answer region, so keyboard users toggle it with Enter or Space, and closed answers are inert so focus skips them. In the default wrapper mode the whole item is also a tap target, while clicks on links or buttons inside the answer are left alone. The icon (a chevron that turns down or right, or a plus that turns into a minus) is hidden from screen readers and only mirrors the state. openOnHover reacts to a mouse only; touch screens and keyboards still open answers with a tap or the button. With reduced motion, items open and close instantly.


Common Mistakes

  • Animating an accordion before the button and aria-expanded state are correct.
  • Hiding the only useful answer inside client-only state.
  • Letting reduced-motion users wait for height animation.

Changelog

Made each question title a native button; the item wrapper is no longer a fake button.
Rebuilt on Motion with the Animated Accordion features: open on hover, elastic springs, delayed and staggered answers, muted or accent fill and a plus/minus icon. Replaces gsap with motion.
Updated accordion behavior and documented reduced-motion support.
Initial release

API Reference

PropTypeDefaultDescription
allowMultiplebooleanfalseLets more than one FAQ answer stay open at once.
openOnHoverbooleanfalseAnswers open while a mouse rests on them and close when it leaves. Touch still uses taps.
fillstringnoneA background that grows down from the top while an item is open.
accentColorcolor#ff6b00Colour of the accent fill.
durationnumber0.45Open and close animation duration.
elasticbooleanfalseSprings instead of easing for the panel, fill, line and content.
bouncenumber0.3How much the springs overshoot. Needs Elastic.
delaynumber0.1Seconds before the answer starts to appear.
staggernumber0.05Seconds between each part of the answer appearing.
showIconbooleantrueShows or hides the FAQ trigger icon.
iconPositionstringrightSide where the trigger icon is rendered.
iconModestringrotateIcon animation: a chevron that turns down or right, or a plus that turns into a minus.

Questions, Answered.

What ARIA pattern does Animated FAQ need?

Animated FAQ uses the button-controlled accordion pattern: each question title is a native <button> with aria-expanded and aria-controls, and each answer is a region labelled by that button and made inert while closed. In the default "wrapper" mode, clicking anywhere on the item also toggles it as a pointer convenience (clicks on links or buttons inside it are ignored); set toggleOn="title" on FAQWrapper to limit toggling to the button. Keep that button rather than swapping in generic div toggles, and treat openOnHover as an extra for mouse users, not a replacement for it.

Where does Animated FAQ help conversion?

Place it near pricing, lead-capture, or product proof where visitors hesitate. It is strongest for objections, not generic educational content.

Should FAQ answers be crawlable?

Yes. Answers are rendered as HTML even while closed (collapsed to zero height and made inert rather than removed), so search engines can read them. Opening an answer needs JavaScript, so keep anything essential visible outside the accordion.

Can Hyperiux adapt Animated FAQ for a real brand system?

Yes. A custom version should define content structure, accessibility behavior, motion rules, reduced-motion behavior, source handoff, and implementation notes for the specific page job.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
File Encryption
Pro
GSAP

File Encryption

WebGL

Animated Toggle
Pro
CSS

Animated Toggle

Buttons

Gooey Counter
canvas

Gooey Counter

Components