Expand context on demand
Drawers reveal additional information or actions in a panel anchored to the edge of the screen, without replacing the current view.
Drawers slide in from a container to expose additional options and information.
Drawers reveal additional information or actions in a panel anchored to the edge of the screen, without replacing the current view.
Unlike a modal, a drawer sits alongside the main content — users can reference what's behind it while working in the panel.
Use drawers for settings, filters, or detail panels where the content supports — but doesn't replace — what's already on screen.
Panel
Title (slot)
Description (slot)
Content
Footer (optional)
Drawers slide in from the edge of their container to reveal secondary content without replacing the main view.
Renders a panel anchored to the container edge. Use for secondary tasks — such as reviewing details, editing settings, or applying filters — that support the main page without replacing it.
Component tokens are specific to each component. Use the table title as the prefix: padding-2-xl under sgds/btn means sgds/btn/padding-2-xl.
sgds/padding/2-xlsgds/padding/lgsgds/padding/nonesgds/gap/xssgds/font-size/24sgds/color-defaultsgds/color-subtlesgds/surface-defaultsgds/bg-overlaysgds/dimension/512sgds/dimension/768sgds/dimension/1024A drawer works best when it supports one related task and a clear next step.
Too many unrelated tasks or messages make the drawer harder to complete and dismiss.
TabShift+TabEscShare 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.