Hide supporting content
Show headings first, then let users expand the details they need.
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.
Show headings first, then let users expand the details they need.
Use clear headings so users can compare topics before opening a panel.
Expanded content stays directly under its heading, so the relationship remains clear.
Title
Indicator (chevron)
Content panel (slot)
Divider
Leading icon (optional)
Badge (optional)
Accordion variant controls whether the group is rendered as a plain list or with an enclosing border.
Use the default variant when the accordion sits naturally in page content.
Accordion density adjusts the spacing inside each item to suit compact or roomy layouts.
Use for most accordions.
Use allowMultiple when users may need to compare content across more than one section.
Use the default single-open behaviour when each item is read independently.
Accordion items can be opened by default or disabled when a section is not available.
Use an open item when one section needs to be surfaced immediately.
Accordion items support icon and badge slots for compact status or category cues.
Use icon and badge slots only when they add useful recognition or status.
Each row is a colour, spacing, or size value the component uses, and the right-most column tells you where in the component you'll see it.
sgds-gap-md16pxsgds-border-width-11pxsgds-border-radius-md8pxsgds-bg-transparentTransparentsgds-color-default#1A1A1Asgds-padding-lg20pxsgds-padding-lg20pxsgds-padding-xs4pxsgds-padding-md16pxsgds-padding-md16pxsgds-font-size-body-md—sgds-font-size-subtitle-md—sgds-font-weight-semibold—sgds-letter-spacing-tight—sgds-line-height-xsHeight variessgds-outline-focus—sgds-outline-offset-focus—This keeps titles scannable.
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 Slack → #ask-sgds-v3
Report it on GitHub Issues → sgds/components/accordion
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.