• Home
  • Getting started
  • Foundation
  • Components
    • Accordion
    • Avatar
    • Badge
    • Bet Button
    • Bet Prediction
    • Bottom Sheet
      Deprecated
    • Button
    • Callout
    • Card
    • Carousel
    • Checkbox
    • Composable Modal
    • Date Picker
    • Dialog
    • Drawer
    • Floating Action Bar
    • Input
    • Notice
    • Pagination
    • Popover
    • Price label
    • Radio group
    • Select
    • Separator
    • Slider
    • Snackbar
    • Switch
    • Table
    • Tabs
    • Tabs Menu
    • Toggle Group
    • Tooltip
  • Patterns
  • Writing (SE)
  • Guidelines
  • Brand portal

Search the design system

Components

Card

View as markdown (opens in a new tab)

Card is a container that holds information and actions related to a single concept or object.

Card

Usage

Use a card to display content and actions on a single topic.

Cards should be easy to scan for relevant and actionable information. Elements like text and images should be placed on cards in a way that clearly indicates hierarchy.

Cards can give information prominence and create predictable patterns. While they’re very flexible, it’s important to use them consistently for particular use cases across experiences.

Type of cards

There are three types of cards:

  • Elevated
  • Filled
  • Outlined
Type of cards
  1. Elevated card
  2. Filled card
  3. Outlined card

Elevated cards

Elevated cards have a drop shadow providing more separation from the background than filled cards, but less than outlined cards.

Filled cards

Filled cards provide subtle separation from the background. This has less emphasis than elevated or outlined cards.

Outlined cards

Outlined cards have a visual boundary around the container. This can provide greater emphasis than other types.

Defining properties

Contained

Each card is a standalone object, even within a card group. The actions and information within one card are distinct from others.

Summarized

A card focuses on high-level details to inform users of the card’s purpose and aid in deciding whether to interact with more content.

Interactive

Cards are, by default, interactive whether they have nested actions or not.

Reusable

While a card doesn’t automatically have to be placed in multiple contexts, it’s by default a reusable component.

Card or Container

A card is, by default, interactive, but it isn't defined by its interactivity — it's defined by semantic independence.

A container isn't defined by its flatness — it's defined by structural purpose.

Both can be reusable, what separates them is whether the component represents a thing or holds things.

Card or Container
  1. Outlined card
  2. Container

Summary of distinctions

Attribute

Card

Container

Represents

A distinct subject or entity

A group or section

Standalone meaning

Yes

No

Interactive

Optional (by default, yes)

Usually not (by default, no)

Reusability scope

Cross-content

Contextual

Anatomy

The card container is the only required element in a card. Card layouts can vary to support the types of content they contain. Below is a common configuration of elements.

Anatomy

A. Container

B. Headline

C. Preamble

D. Supporting text

E. Image

F. Button

Padding

Cards use 16 px (p-4) internal padding by default. This should be the standard choice in most cases, as it provides a consistent content layout and spacing within the component. Padding options include small (8 px), medium (16 px), large (24 px), and none (0 px).

In some cases, the padding may need to be adjusted to better suit the content. For example, images may need to span the full width of the card, or headings may need less spacing if the typography already adds enough space. The amount of padding should also be guided by the content density inside the card — denser layouts often need less padding, while lighter layouts can allow for more generous spacing.

Padding – 1

Example of a card using the default 16 px internal padding.

Padding – 2

Example of a card where the internal padding has been modified to support the content layout.

Layout

Cards in a collection

Multiple cards can be grouped together into collections displayed in a grid or carousel. By default, cards in a collection are coplanar, sharing the same resting elevation unless they are picked up or dragged.

Cards in a collection

Multiple cards can be grouped into collections with a shared resting elevation.

Organize

Organize card collections so that they are easy to use. Their layout affects how they are perceived.

Organize

Place cards in a collection in a straightforward, easy-to-use manner.

Grid

Cards can be displayed together in a grid.

Grid

Cards displayed in a grid.

The default grid can be customized to show cards in staggered or mosaic grids.

Grid – 1

Customized mosaic grid.

Grid – 2

Customized staggered grid.

Vertical list

Cards can be displayed together in a vertical list.

Vertical list

Cards shown in a vertical list.

Carousel

Cards can be displayed together in a horizontal row or carousel.

Carousel

Cards displayed together in a horizontal row or carousel.

Interactions

Cards can provide people with interactions in a number of ways. When there are multiple available actions, a card can hold buttons and links.

Interactions

If there is one obvious action, the entire card surface can function as a button.

Interactions

Cards can also be used to let people make a selection, similar to checkboxes or radio groups.

Interactions

Expanding cards

Cards can be expanded to show additional information and actions. It's important to keep the expanded content short and contextual. The expanded card will, by default, push other content down as it should only expand its height.

Expanding cards

Clear indicators

The affordance of an expandable card will become stronger to the user if an indicator, such as a chevron, is added.

Clear indicators

A. A chevron is most commonly placed in the top right of a card, but the most important part is to be consistent across cards in the same context.

Alternatives

If the content is too long, open up a sheet or navigate to a page instead of expanding the card.

Alternatives

A bottom sheet can hold more information than an expanded card.

Scrolling

Card content that’s taller than the maximum height of a collapsed card is truncated and doesn’t scroll, but can be displayed by expanding the height of a card.

A card can expand beyond the maximum height of the screen, in which case the card scrolls within the screen.

Scrolling – 1
On a mobile device, cards can expand to reveal more content, scrolling within the screen. Content within cards doesn’t scroll.
Scrolling – 2
On a mobile device, cards can't internally scroll, as it could cause two scroll bars to be displayed.

Scrolling on desktop

On a desktop device, card content can expand and scroll within a card.

Scrolling on desktop

On a desktop, scrolling within an expanded card is an alternative to forcing the content of a grid to reflow.

ComponentsCallout / Changelog
ComponentsCard / Code

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]@svenskaspel/ui version
4.4.0

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se