Brand Design System

Accordion

Expandable/collapsible content sections for organizing information in a compact, progressive disclosure pattern.

Live Preview

Our products feature Manjish Glow Elixir Face Oil, rare Kashmiri Saffron, and over 16 potent Ayurvedic herbs carefully selected for their skin-nourishing properties.

Code

1<div class="accordion">
2 <div class="accordion__item">
3 <button
4 class="accordion__header"
5 aria-expanded="true"
6 aria-controls="content-1"
7 >
8 <span>What are the key ingredients?</span>
9 <svg class="accordion__icon accordion__icon--open" viewBox="0 0 24 24">
10 <path d="M19 9l-7 7-7-7" />
11 </svg>
12 </button>
13 <div id="content-1" class="accordion__content">
14 <div class="accordion__body">
15 Our products feature Manjish Glow Elixir Face Oil, rare Kashmiri Saffron,
16 and over 16 potent Ayurvedic herbs.
17 </div>
18 </div>
19 </div>
20
21 <div class="accordion__item">
22 <button
23 class="accordion__header"
24 aria-expanded="false"
25 aria-controls="content-2"
26 >
27 <span>How should I use this product?</span>
28 <svg class="accordion__icon" viewBox="0 0 24 24">
29 <path d="M19 9l-7 7-7-7" />
30 </svg>
31 </button>
32 <div id="content-2" class="accordion__content" hidden>
33 <div class="accordion__body">
34 Apply 3-5 drops to cleansed face. Massage gently
35 in upward circular motions.
36 </div>
37 </div>
38 </div>
39</div>

Brand Properties

Accordion Item

PropertyTypeBrand DefaultHoB ValueTAE Value
MarginsMixed0px left, 20px right, 0px bottom, 20px top0px left, 20px right, 0px bottom, 20px top0px left, 20px right, 0px bottom, 20px top
PaddingInput (px)000
Corner RadiusInput (px)000
BackgroundDropdownColorColorColor
Border StyleDropdownnonenonenone
OpacitySlider100%100%100%
ShadowToggleOffOffOff

Icon Properties

PropertyTypeBrand DefaultHoB ValueTAE Value
Select an IconIcon pickerFaCircleFaCircleFaCircle
Icon SizeSlider10 px10 px10 px
Icon ColorColor picker (hex)#000000#038012#1A5129

Collapsed Icon

PropertyTypeBrand DefaultHoB ValueTAE Value
Select an IconIcon picker(varies)(varies)(varies)
Icon SizeSlider10 px10 px10 px
Icon ColorColor picker (hex)#000000#038012#1A5129

Expanded Icon

PropertyTypeBrand DefaultHoB ValueTAE Value
Select an IconIcon picker(varies)(varies)(varies)
Icon SizeSlider10 px10 px10 px
Icon ColorColor picker (hex)#000000#038012#1A5129

Heading

PropertyTypeBrand DefaultHoB ValueTAE Value
FontDropdownOpen SansLarkenMerriweather
WeightDropdownnormalnormalnormal
SizeDropdown16px20px20px
Html TagDropdownH3H3H3
Text Alignment4 optionsleftleftleft

Paragraph

PropertyTypeBrand DefaultHoB ValueTAE Value
FontDropdownOpen SansOpen SansOpen Sans
WeightDropdownnormalnormalnormal
SizeDropdown16px20px20px
Text Alignment4 optionsleftleftleft
MarginsMixed0px left, 10px right, 0px bottom, 0px top0px left, 10px right, 0px bottom, 0px top0px left, 10px right, 0px bottom, 0px top

Variants

Bordered (Default)

This is the content that appears when expanded.

Separated

This is the content that appears when expanded.

Minimal (No Border)

This is the content that appears when expanded.

With Icons

Free shipping on orders over $50. Standard delivery 3-5 business days.

Accessibility

  • Use aria-expanded to indicate open/closed state
  • Connect headers to content with aria-controls and id
  • Headers should be <button> elements for keyboard access
  • Support Enter/Space to toggle, Tab to navigate between headers
  • Consider using aria-labelledby on content panels
  • Animate height changes smoothly to avoid jarring transitions

Do's and Don'ts

Do

  • Use for FAQ sections and product details
  • Keep headers concise and descriptive
  • Consider which item should be open by default
  • Use "allow multiple" for independent content
  • Provide visual feedback for expanded state

Don't

  • Hide critical information in accordions
  • Use for navigation menus (use proper nav)
  • Nest accordions within accordions
  • Make headers too long or complex
  • Use when content is short enough to show directly

Related Elements

Unmapped Brand Values

BrandPropertyValueNotes
HoBPrimary Color#038012Used for icon colors, active states
HoBHeading FontLarkenApplied to accordion heading text
HoBBody FontOpen SansApplied to accordion paragraph text
TAEPrimary Color#1A5129Used for icon colors, active states
TAEHeading FontMerriweatherApplied to accordion heading text
TAEBody FontOpen SansApplied to accordion paragraph text