Cards can be used with grids - they can contain
headers for titles or footers for interactions.
Header title text
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Sequi, nulla.
Header title text
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Sequi, nulla.
3) Interactive Cards
For interactive cards with functionality similar to buttons or links,
you can choose to add hover effects by using the
sgds-card sgds-card-button class.
Media cards are graphical links containing simple text content.
Media cards have fixed height, and hence can be stacked together
in a grid of columns and rows.
Add .sgds-card-variant-highlight to the card element to highlight its prominence.
Title
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Sequi, nulla.
Style
Modifier
Description
is-*color*
Replace colorState with contextual text color
classes (is-danger,
is-warning,
is-success etc.) for
various background colours.
When to use
Cards should be used for:
Displaying groups of related content.
For example, enclose related images, links and text that
represent an upcoming event in a card.
Keep headers and text short but descriptive.
Prioritise important content - cards are not meant for extensive reading.
There should be only one primary call-to-action per card.
Avoid excessive call-to-action buttons as it creates confusion.
If there is a need to have many cards,
it should generally be contained in a section of the page.
Cards should not be used for:
Complex pages - cards will be mixed with other
visually prominent elements and this may confuse users.
Drawing users’ attention to important information - other options like
the notification component with
the correct colour state or the callout component
are more suitable.
Can't find a component?
Let us know what you need and we’ll be happy to look into it