Switch between related views
Tabs let users navigate between content sections that share a context — different aspects of the same object, or different states of the same data.
Tabs are used within a tab group to activate the corresponding tab panels.
Tabs let users navigate between content sections that share a context — different aspects of the same object, or different states of the same data.
All tab labels are visible at once, so users can see what sections exist and switch between them without a back button.
Switching tabs doesn't reload the page — users can move back and forth between panels without losing scroll position or entered data.
Tab list
Tab
Tab panel
Tab variants control the visual style of the active tab indicator to suit different surface contexts.
The underlined variant marks the active tab with a bottom border. Use as the default tab style in most page and panel contexts.
Component tokens are specific to each component. Use the table title as the prefix: gap-xl under sgds/tab means sgds/tab/gap-xl.
sgds/gap/xlsgds/gap/xssgds/border-color-mutedsgds/border-radius/mdsgds/border-width/1sgds/border-width/4sgds/font-size/14sgds/color-defaultsgds/color-fixed-lightsgds/bg-translucentsgds/bg-translucent-subtlesgds/primary/color/defaultsgds/primary/surface/defaultsgds/opacity/50Short, specific labels and a clear current state help users move through the interface with confidence.
Repeated or unnecessary navigation patterns make it harder to understand where to go next.
TabShift+TabEnterSpace← Leftor↑ Up→ Rightor↓ DownHomeEndShare 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.