Accordion UI design: When to use it instead of tabs

The exploration for Accordion component UI design, states, templates and use cases for desktop & mobile viewports.

Accordion UI design exploration — Styles, states, usage, templates
UI Design

Published on

September 5, 2021

|

6 mins read

Blog

Accordion UI design: When to use it instead of tabs

Roman Kamushken

Roman Kamushken

Heya! Roman's here.

I am a UI designer, maker, and seller. It's been already 3+ years passed since I started to make templates for Figma and founded Setproduct to help startups and individuals save on design and release their apps faster.

Working for 20+ years in graphic design, last years I've been browsing thousands of apps, screens, components, and layouts almost DAILY to gather the most complete ebook of how to design components, templates, and entire apps.

Fortunately, I've started with the 1st chapter related to the State of Avatar. Glad I was listed on some popular design resources and got a bunch of retweets and mentions. Which makes me decide to continue my explorations, so meet the research aimed to explain on how to design Accordions.

What is Accordion?

Accordion (aka Expansion panel) — vertically stacked list of options that can expand/collapse to reveal or hide more associated content.

Accordion example illustrating what is accordion?

Anatomy

States

Default states for Accordion are:

  • collapsed
  • expanded
  • onhovered
  • focused
  • disabled

Accordion example illustrating states

Chevrons placement

Chevron icon represents the opportunity to expand/collapse Accordion item. Once Accordion was clicked, the chevron rotates to indicate the successful expansion. Further collapse returns the chevron to a previous position.

Accordion example illustrating chevrons placement

Instead of a chevron, you may use the following symbols:

  • Up / down caret
  • Plus / Minus
  • Up / down arrow

Accordion example illustrating chevrons placement

Additional icon

In the case of right-sided Accordion, you may place additional icons to strengthen the meaning. Use wisely not to overload the component.

Accordion example illustrating additional icon

In some cases, you may apply colors to visually separate the items:

Accordion example illustrating additional icon

Styles & Themes

Expanded item

Highlight expanded state to let a user recognize what is opened in case of multiple Accordions. There are several possible styles for the highlighting:

  • Elevation shadow
  • Background fill
  • Outline stroke

Accordion expanded item shown in example

While the elevation works well on both smooth grey and white surfaces, you may fill the Accordion expanded item's background with 8–12% opacity fill. Fits good for white surfaces. Add outline stroke, if necessary.

Accordion expanded item shown in example

Contained Accordion

Use contained Accordion for most of the cases. Separate its items by a slightly visible divider. This placement either saves some vertical space.

Accordion example illustrating contained accordion

Separated Accordion

There are some cases when you can separate Accordions with whitespace. Use this method to divide when it's needless to save vertical space.

Accordion example illustrating separated accordion

Accordion UX & Usability

Subtitle to pre-know

Enable a subtitle to inform your users about what to expect when Accordion expands. This either helps to display the user's pick when everything is collapsed.

Accordion example illustrating subtitle to pre-know

Badge to pre-know

Either use a badge to indicate the selection hastily, while Accordion is collapsed.

Accordion example illustrating badge to pre-know

Helper text

Enable a helper text for Accordion to ergonomically show up a user's pick when collapsed, especially for mobile viewports.

Accordion example illustrating helper text

Mobile patterns

Full-width usage

On mobile devices use only full-width Accordions.

Accordion usage example showing full-width usage

Side menu

Implement Accordions into the navigation drawer to reveal submenu items.

Accordion example illustrating side menu

Filters

Use side panels with Accordions to utilize multiple filters, properties, etc.

Accordion example illustrating filters

Desktop patterns

Side menu

Analogous as mobiles, you may implement Accordion-driven side navigation for desktop apps, dashboards, etc.

Accordion example illustrating side menu

Filters

Depending on the desktop layout structure, Accordions (e.g. as Filters) could be placed as both left or right-sided.

Accordion example illustrating filters

This is all you need to know to design better Accordions.

Hope this exploration will help you to improve your in-app UX. The next chapter is for the App Bars, probably. Stay tuned!

Subscribe to Setproduct

Once per week we send a newsletter with new releases, freebies and blog publications

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.

Related posts

Empty state UI design: From zero to app engagement

UI Design

17 min read

Empty state UI design: turn blank screens into next steps

The empty state is the first screen many users ever see. Learn how to turn blank screens into guidance that drives the next action, with real examples.

Learn how to design accessible, responsive and visually clear Steps UI for web flows like onboarding, checkout, KYC, and surveys

UI Design

10 min read

Steps UI design tutorial. Build better flows through visual guidance

A great Steps UI guides users, reduces drop-offs, and removes friction. Learn the rules that make it work across desktop and mobile.

Most tooltips appear too fast, too small, or in the wrong place

UI Design

14 min read

Tooltip UI design: Why most tooltips quietly hurt usability

Most tooltips appear too fast, too small, or in the wrong place. See the anatomy, timing, and accessibility rules that make tooltips quietly useful.