VibeDict

Tabs vs Accordion

Both split lots of content into parts. Tabs line up titles across the top and switch between them, while an accordion stacks titles vertically and expands one when you click it.

Tabs

Click one of the titles lined up across the top to switch the content.

Accordion

Click a title in a vertical stack to expand what's under it.

At a glance

TabsAccordion
Title layoutSide by sideStacked
Number of items3 to 5Many is fine
Best screenWide screensNarrow screens, phones
ExampleReview tab on a product pageFAQ

Use “Tabs” when…

  • When there are 3 to 5 kinds, like 'Details / Reviews / Questions'
  • When people switch back and forth to compare
  • On wide computer screens

🤖 Say it to your AI like this

Add tabs below the product details: [Details] [Reviews] [Shipping & Returns]. Underline the selected tab, and only change the content below.

More about Tabs →

Use “Accordion” when…

  • When there are many items, like an FAQ
  • On narrow screens like phones
  • When people only read the parts they need

🤖 Say it to your AI like this

Make the FAQ an accordion. When someone clicks a question, smoothly expand the answer and rotate the arrow on the right. Only allow one open at a time.

More about Accordion →

💡 How not to mix them up

If your tabs overflow on phones, just say 'switch to an accordion on phones'.

More comparisons

← All comparisons