Hero

A full-width introductory block that anchors a landing page with a headline, description, and primary call to action.

Figma
DesignUsageAccessibilityUpdates

Purpose

Support the page structure

At the top of a landing page to communicate the primary value proposition

Keep the layout consistent

When you need a strong visual anchor before the main page content

Use it intentionally

On detail or utility pages where users already know the context

Anatomy

Build with SGDS

Design and build government digital services with consistency, speed, and confidence.

Get started
1

sgds-button (used)

Configuration

Default

A full-width hero with a headline, description, and primary call-to-action button.

Build with SGDS

Design and build government digital services with consistency, speed, and confidence.

Get started

Playground

BETA

Build with SGDS

Design and build government digital services with consistency, speed, and confidence.

Get started

Structure

Component tokens

Component tokens are specific to each component. Use the table title as the prefix: padding-lg under sgds/hero means sgds/hero/padding-lg.

sgds/hero
CategoryComponent tokenSemantic tokenValuePaddingpadding-lgsgds/padding/lg20pxGapgap-smsgds/gap/sm12pxBorderborder-color-mutedsgds/border-color-muted#DFDFDFborder-radius-mdsgds/border-radius/md8pxborder-width-1sgds/border-width/11pxColourcolor-defaultsgds/color-default#1A1A1Asurface-defaultsgds/surface-default#FFFFFF

Usage

When to use

  • At the top of a landing page to communicate the primary value proposition
  • When you need a strong visual anchor before the main page content

When not to use

  • On detail or utility pages where users already know the context
  • Inside dashboards or data-heavy interfaces

Best practices

Build with SGDS

Design and build government digital services with consistency, speed, and confidence.

Get started
Headline copy

Keep the headline short — one clear benefit or action Lead with what the user gets, not what your service is

Build with SGDS

Design and build government digital services with consistency, speed, and confidence.

Get started
Overloading the hero

Don't put more than two calls to action in the hero Don't use the hero for secondary navigation or filters

Accessibility considerations

Keyboard support

Use the SGDS components inside the hero pattern so keyboard behaviour stays predictable.

Check focus order and action placement in the surrounding page context, especially when the pattern groups multiple interactive elements together.

Tab order

  • Move focus into the pattern.
  • Navigate through interactive elements in visual order.
  • Confirm any revealed or supporting content remains reachable.
  • Continue to the next interactive element on the page.

Keyboard interaction

KeyInteractionTabMoves focus through the interactive elements inside the hero pattern.Shift+TabMoves focus to the previous interactive element.EnterActivates the focused action or confirms the current selection when supported.SpaceActivates focused controls when the contained SGDS component supports toggling or selection.

Updates

DateVersionDescriptionLoading updates…

Roadmap

Planned itemStatusTargetFuture improvements for heroPlannedTBD

Feedback

Have suggestions or feedback?

Share them with us on Slack → #design-system-feedback

Bug Reports

Found a bug or issue?

Report it on GitHub Issues → sgds/patterns/hero

Singapore Government Design System

The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.