A NSW Government website
Design System v3.2.4

Cards

Cards group related content or tasks to make it easier for users to scan, read, and find information.

Figma React

Usage

Use card layouts to present a high-level summary of content related to a single topic for users to navigate to.

Cards group information into meaningful sections, providing concise information in a condensed space to allow users to distinguish between content and find information easily. The information in a card outlines the main idea of a product, service, or piece of information, allowing a user to click through for further information.

Card types

Cards are styled according to their purpose:

  • Highlight cards - Use to highlight important content of a related topic or area. For example, to draw attention to priority or key content on a Homepage.
  • Content cards - Use to display all or larger groups of content options to your user. For example, on landing pages where it is used to show all content areas within that section of the site.

How to use

Do:

  • consider and choose text and visual elements carefully. Test your cards with minimal content and only add additional content or graphics where they give needed context to the user
  • use headlines that set clear expectations about the content being linked to
  • use one style of card per module, don't mix and match
  • feature one piece of information per card
  • outline the main idea with the minimal possible information, don't overload with information as the card links to more detail.

Do not:

  • mix card styles within the same module
  • overload with information as the card links to more detail
  • add inline text links, the card itself is clickable and should link to a single piece of information, consider using content blocks in this instance
  • use a single card component on its own.

When to avoid

Cards should only display enough information to give a user context. Do not use a card layout:

  • to highlight a solo piece of information, consider callout
  • when the content requires in-line or multiple links, consider content blocks
  • when a large amount of text is needed to give users context
  • to anchor link to content lower down on the page, consider in-page navigation.

Building cards

Cards are made up of foundation and content elements to show information to users. Some examples of these elements are included in our base card component.

The only mandatary foundations of a card are the container, headline and icon. All others shown are optional and can be adapted to meet user needs.

NOTE: Do not place single clickable elements (ie. buttons) inside a card, as whole component is clickable.

Container: Contains the content and identifies clickable area.

Label: Indicates the category of a topic or theme when a user needs to further group content. For example, departments, agencies, or services.

Date: Indicates how old the content is when this information is important to the user.

Headline: Provides a snapshot of the content.

Description: Provides further details where the headline alone may not be sufficient.

Icon: Arrow used to indicate a clickable component.

Visual elements

Using visual elements (such as images or icons) in cards allows for different content to stand out and provide additional context. It helps users visualise different pieces of information and quickly distinguish between content to find information easily.

Test your visual elements carefully:

  • only use where it supports and re-enforces the content to the user
  • only use when they can clearly show the difference between content and can be easily identified
  • do not use for decorative purposes only.

Principles

Keep content concise

Cards allow users to scan content in order to find their required information quickly, therefore it is important to make the content concise. Ensure the headlines are brief and explicit about the content the cards link to. Intuitive headlines and copy help the user build a clear mental model of the content.

Behaviour

When a user interacts with a card it inverts colour to indicate to the user which card they are currently focused on and reinforces the clickable area.

Accessibility

All components are responsive and meet WCAG 2.1 AA accessibility guidelines.

Headline only

White

Brand Light

Brand Dark

Headline and copy

White

Brand Light

Brand Dark

Helps you compare electricity and gas and switch providers.
Helps families with dependants to pay their energy bills. Applications opening late July for the 2019-20 rebate.
Concession card holders may be able to save on a new fridge or television.
Helps you compare electricity and gas and switch providers.

Label and date

White

Brand Light

Brand Dark

Business
Save money by comparing electricity and gas plans.
Family
$100 voucher for children's creative and cultural activities.
Family
$100 voucher for children's sport, fitness and recreation.
Business
Save money by comparing electricity and gas plans.

Image

White

Brand Light

Brand Dark

Nominations open for Green Globe Awards 2019
Community
The annual awards will recognise individuals and organisations for their leadership , commitment and innovation in sustainability across NSW.
Quality green spaces and a million more trees for NSW
Environment
The NSW Government will create more quality green spaces and increase ther tree canopy in Sydney bt 2022.
New Premier's Priority to lift literacy and numeracy standards
Education
The NSW Government will redouble its efforts to lift literacy and numeracy standards across NSW public schools to ensure students are given every opportunity to be their best.
Nominations open for Green Globe Awards 2019
Community
The annual awards will recognise individuals and organisations for their leadership , commitment and innovation in sustainability across NSW.
Energy switch
Save money by comparing electricity and gas plans.
Creative kids
$100 voucher for children's creative and cultural activities.
Energy switch
Save money by comparing electricity and gas plans.