Skip to content

Accordion

Questions that open in place to show their answer.

Conversion5 variants5 statesLight + DarkWide · Medium · Compactv1.0
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
Live preview · click to try it

Variants

5 named variants. Layer names match the names below.

Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
LineAccordion / Line
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
TrayAccordion / Tray
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
NumberedAccordion / Numbered
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
CompactAccordion / Compact

Asked first.

Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
SplitAccordion / Split

States

Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
Accordion / Closed
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
Accordion / Hover
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
Accordion / Focus
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
Accordion / Open
Yes. Every colour is a Framer variable with a Light and a Dark value. Switch the mode and every component follows.
Yes. Remix it in Framer at no cost and use it in your own and client projects.
Open Variables, change Accent/Acid, then set Deep, Soft and Wash to match.
Accordion / Disabled

Usage

Do

  • Write questions the way people ask them.
  • Keep answers under 60 words and link out for more.
  • Open the first item when the accordion is the main content.
  • Use Numbered for steps, Split for long FAQs on Wide.

Don't

  • Hide content everyone needs, like prices or legal terms.
  • Nest an accordion inside another.
  • Use it for navigation between pages; use Tabs or links.
  • Put more than about 10 items in one list; split it by topic.

Properties

PropertyType or optionsDefault
ItemsArray of Question + Answer6 sample questions
VariantLine · Tray · Numbered · Compact · SplitLine
Open FirstBooleanOn
Allow MultipleBooleanOff
IconPlus · ChevronPlus
Heading LevelH2 · H3 · H4H3
GapNumber (Space token)0

Styles it uses

Line/StrongInk/PrimaryInk/SecondaryAccent/AcidAccent/SoftSurface/TileSurface/RaisedState/Focus

Text: Label (question, 19/18/16) · Body (answer) · Badge (Numbered)

Accessibility

  • Each question is a real button inside a heading, with aria-expanded and aria-controls.
  • Enter or Space opens and closes. Tab moves between questions.
  • The answer region is labelled by its question.
  • Focus ring: 3px State/Focus with 3px offset, visible in both themes.
  • Motion: rows open over 450 ms and stop when reduced motion is on.

Create a free website with Framer, the website builder loved by startups, designers and agencies.