FAQ accordion

Questions that open smoothly beside a title and a 'Still have a question?' card, with a search field that keeps the matching ones once there are more than five. The owner adds, removes and reorders the questions, writes the answers (links allowed), the title, the line and the contact link.

  • 8 editable fields
  • Light and dark
  • Phone to desktop
  • Animated, calmer for reduced motion
  • Set in Funnel Display
  • A small script, no libraries, works without it
Full page

Copy the code with a free developer account

Every component here is free for developers on WireSwan. Create an account, or sign in, and the HTML and CSS are one click away.

How to use it

Paste it in

The line for the head of the page first (the fonts it is set in), then the HTML where the section goes, the CSS in your stylesheet and the script at the end of the page. Everything is under one class, so it cannot restyle the rest of the site.

Make it yours

The colours are the variables at the top of the CSS, with a dark set beside them; the fonts come from Google Fonts by the head line, one font-family line each to swap for your site's own. Using a component twice on one page? Give the second one its own data-edit names.

Upload the site

Every field listed above is in the owner's editor from the first upload, with no setup on your side.

More components

See them all