Progressive disclosure
Accordion sections show only essential information upfront and reveal supporting details on demand.
The accordion is a UI component that lets users expand and collapse sections of content. It helps organise information into manageable chunks, keeping pages clean and reducing cognitive load.
Accordion sections show only essential information upfront and reveal supporting details on demand.
Accordion headings help users compare sections quickly before deciding what to expand.
Expanded content stays grouped beneath its trigger so users can stay oriented while reading.
Title
Indicator (chevron)
Content panel (slot)
Divider
Leading icon (optional)
Badge (optional)
Density controls the spacing and visual weight of accordion items.
Standard spacing for most page content. Use it in typical layouts.
Border controls whether the accordion uses a borderless or bordered container.
No outer shell around the accordion. Use it when the surrounding layout already provides structure.
Expansion controls how many accordion items can stay open at the same time.
Keeps one section open at a time. Use it to keep the page compact and focused.
Slots control the optional content added to the accordion header.
Uses the standard header only. Use it for most content lists.
Component tokens are specific to each component. Use the table title as the prefix: hover-bg under sgds/accordion means sgds/accordion/hover-bg.
sgds/bg-translucent-subtlesgds/color-defaultsgds/color-subtlesgds/gap/mdsgds/border-color-mutedsgds/border-width/1sgds/border-radius/mdsgds/padding/lgsgds/padding/lgsgds/padding/xssgds/padding/lgsgds/padding/mdsgds/padding/mdsgds/padding/xssgds/padding/mdsgds/padding/xlsgds/padding/xlsgds/padding/xssgds/padding/xlsgds/bg-transparentsgds/color-defaultThis keeps titles easy to scan.
Inconsistent casing slows scanning.
Short titles are easier to read at a glance.
Move supporting detail into the panel content.
Users should get what the heading promises.
Off-topic panel content creates confusion.
Use accordions for content that belongs together.
Multiple layers make navigation harder.
Each accordion trigger is a real button with expanded or collapsed state.
The component applies built-in ARIA attributes to connect the trigger with its content region.
The header slot content becomes the visible label for the accordion trigger.
Write header text that is clear enough to stand on its own when announced as a button.
Interaction stays on a real button, with keyboard movement into interactive content inside an expanded panel.
TabShift+TabEnterSpace↓ Downor→ Right↑ Upor← LeftShare them with us on
Report it on GitHub
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.