Group related content
Cards visually bundle a piece of information, such as a title, description, media, and action, into a single scannable unit.
Cards can include headers, footers, rich content, and contextual background colours or images.
Cards visually bundle a piece of information, such as a title, description, media, and action, into a single scannable unit.
When cards share a consistent layout, users can quickly read across a grid and weigh options without extra effort.
Cards work across many contexts, including content listings, dashboards, and product summaries, because the structure adapts to what you put inside.
Container
Icon or thumbnail (optional)
Subtitle (optional)
Title
Content slot (optional)
Description (optional)
Secondary text (optional)
Footer (optional)
Badge (optional)
Controls whether the card uses its default border.
Shows the default card border. Use when the card needs a clear container that stands apart from the surrounding layout.
Background treatment that changes visual emphasis without changing structure.
Uses the standard card background. Use for neutral card layouts that should not draw extra attention.
Available SGDS card variants and the kind of content each one supports.
The base card variant is text-first and flexible. Use it when content matters more than supporting media.
Layout direction for arranging content and media vertically or horizontally.
Card title
Media sits above the content in the default vertical layout.
Stacks the media above the content. Use when the card should follow a more traditional vertical layout.
Image placement before or after the content across vertical and horizontal layouts.
Card title
The image appears above the content in a vertical card.
Card title
The image appears to the left of the content in a horizontal card.
Places the image before the content. Use when the image should appear above in vertical cards or to the left in horizontal cards.
Top-right badge content for lightweight status or metadata.
A badge sits in the top-right area of the card. Use it to surface status, count, or lightweight metadata without taking over the card body.
An extra supporting text row below the description for added context.
Secondary text sits below the description as a supporting row. Use it when the card needs an extra line for metadata, status, or supporting details.
Footer content patterns, from lightweight links to stronger calls to action.
Removes the footer action area. Use when the card is purely informational and does not need a follow-up action.
Title emphasis across heading levels within the same card structure.
Uses a larger heading level for the title. Use when the card title needs stronger emphasis in the layout.
A short label above the title for category or supporting context.
Adds a short label above the title. Use to show a category or supporting context before the title.
Supporting text beneath the title for added explanation or context.
Description text sits below the title as supporting copy. Use it when the card needs extra explanation or context.
Custom content areas within the card body using the available content slots.
The default slot sits directly below the title. Use it for the card's main custom content, such as text, metadata, or small supporting elements.
Component tokens are specific to each component. Use the table title as the prefix: background under sgds/card means sgds/card/background.
sgds/surface-defaultsgds/body-color-defaultsgds/color-subtlesgds/border-color-mutedsgds/border-width/1sgds/border-radius/mdsgds/padding/xlsgds/padding/xlsgds/gap/lgsgds/gap/xssgds/gap/2-xssgds/gap/smsgds/body-color-defaultsgds/color-subtlesgds/color-subtlesgds/body-color-defaultsgds/link-color-defaultsgds/link-color-emphasissgds/bg-translucent-subtleA clear title, short description, and one obvious hierarchy make cards easier to compare.
Too much competing content makes the card harder to scan and weakens the primary action.
This component does not have a separate keyboard interaction table because:
Share 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.