Skip to content

Accordion

Accordion

Accordion provides collapsible content panels for organizing and displaying information in a space-efficient manner with smooth expand/collapse animations.

PropertyValue
Header Height48-56px
Padding16-20px horizontal
Border Radius4-8px
Border Width1px
Font Size14-16px (title)
Icon Size16-20px
Animation Duration250-350ms

Chevron points right/down, content hidden

Collapsed State

Chevron rotated, content visible with animation

Grey with reduced opacity, not interactive

Subtle background change, pointer cursor

VariantDescription
Single OpenOnly one panel can be open at a time
Multiple OpenMultiple panels can be open simultaneously
Default OpenOne or more panels open by default
Always OpenPanels cannot be collapsed
StyleDescription
ChevronStandard right/down arrow
Plus/Minus+ when collapsed, - when expanded
CaretTriangle pointing direction
TypeUsage
TextPlain text content
Rich ContentHTML, lists, links
Form ElementsInputs, checkboxes inside panels
Nested ComponentsOther components within accordion
  • Organizing large amounts of content
  • Progressive disclosure of information
  • FAQ sections
  • Settings panels with categories
  • Document or help content organization
✅ Do❌ Don’t
Keep titles concise and descriptiveUse vague headings
Logically group related contentMix unrelated topics
Allow panel content to breatheOverfill panels
Use meaningful iconsSkip visual indicators
Consider mobile touch targetsMake headers too small
Persist state when appropriateRandom open/close behavior
  • Keyboard navigation with Enter/Space
  • Accessibility (expanded state)
  • Proper heading hierarchy
  • Focus visible indicators
  • Screen reader announcements
ElementRecommendation
Title Length20-50 characters
Title StyleSentence case
Content StructureUse subheadings for long content
Panel Count3-8 items recommended