Intelligence Community Design System ICDS Get started Accessibility Styles Components Patterns Community
Show navigation section

Card (horizontal)

Guidance Code Accessibility

Canary components

Canary components are unstable components that are released for testing purposes.

We value any feedback from users willing to try them in their applications.

These components should not be used in production apps without understanding the risk that changes may occur in order to fix bugs or improve functionality.

For more information on Canary components, read our approach to releases and versions .

Additional details on the props and events for this component can be found in the Canary web components and Canary React storybooks.

Introduction

A horizontal card uses the same structure as clickable and static vertical cards, although presenting the content in a horizontal layout with the image on either the left or right.

Horizontal cards do not currently contain an interaction area as they are designed for display rather than function. Horizontal cards are best suited for presenting a summary of information with an image in a pleasing way. The card can be clicked on to find out more about the item on a dedicated page.

Component demo

Interactive example

Component variants

The horizontal card has two main variants:

Density

Two options are available for density: default and spacious.

Size

There are three size variants: small, medium and large.

When to use

Use a horizontal card when vertical space is limited and you need to display information about an item in a visually pleasing way.

When not to use

Don’t use a horizontal card to display large amounts of content about an item, consider using a Data Table instead.

Interaction behaviour

Horizontal cards utilise a heading area which controls interactions with the card. The heading area can be either static or clickable. If you need a card to contain an interaction area, consider using a vertical instead of horizontal card.

Static

Interaction with a horizontal card containing a static heading is limited to the card menu.

Clickable

A horizontal card with a clickable heading contains the card heading as a clickable link element.

Clickable cards contain one interaction, therefore text in the card body cannot be hidden.

Sizing

Use the size options to resize the horizontal card to fit your design space. Match the selected size to other components in the same section so that they are aligned.

Three horizontal cards displayed with different sizing of small, medium and large. Each card contains an image on the left, a clickable heading labelled ‘Macchiato’ and content describing Macchiato coffee. These use a default layout, so the image is flush with the edges of the card.
Horizontal cards come in three different sizes.

Use the small size when available width is limited and use the large size for a wide horizontal card display.

An image of five horizontal cards in two columns, the columns containing different width cards to show poor layout. The horizontal cards show mixed content relating to coffee. The first column shows; a small clickable card with no image, a medium clickable card with spacious layout and an image to the left, and finally a large clickable card with a default layout and image to the left. The second column shows a small clickable card and a medium clickable card.
Don’t vertically align horizontal cards of different sizes.

Density

A horizontal card with a default density has no margin between the image and card border, for a more compact styling.

Horizontal card with a default density, an image of a Latte is displayed on the left which meets the border edge of the card with no margin. To the right is a heading and content describing a Latte coffee.
Default density does not include a margin around an image.

A horizontal card with a spacious density maintains a 16-pixel margin between the image and card border.

Horizontal card with a spacious density, an image of a Latte is displayed on the left with a small margin surrounding it. To the right is a heading and content describing a Latte coffee.
Spacious density includes a margin around an image.

Content

Horizontal card content is similar to the static and clickable variants of Vertical card ; however, it does not include an interaction area.

A horizontal card showing each element of content to be displayed; heading, image, content and expandable areas.
A horizontal card includes a heading area, image area, content area and an expandable area.

1. Heading area

The default horizontal card layout cannot contain a subheading or adornment due to space limitations.

The anatomy of a horizontal card with default density showing the heading area and annotations for each of the three elements displayed.
A horizontal card’s heading area with default density, which can include three elements; icon, heading and menu button.

The heading area can contain:

  • A: Icon/Avatar

  • B: Heading

  • C: Card menu

A spacious horizontal card can contain a subheading and an adornment.

The anatomy of a horizontal card with spacious layout showing the heading area and annotations for each of the five elements displayed.
A horizontal card’s heading area with spacious density, which can include five elements.

The spacious density heading area can contain:

  • A: Icon/Avatar

  • B: Heading

  • C: Subheading

  • D: Adornment

  • E: Card menu

2. Image

If an image is displayed, it can be placed to the left or right of the content.

Two horizontal cards, both showing an image of an Espresso, a heading label of Espresso, subheading of ‘Short and sweet’ with collapsed content describing an Espresso coffee. The top image has the image placed to the left of the content, while the bottom image shows the image placed to the right.
Place images either on the left or the right of cards, if content is present.

3. Content area

Add a descriptive message within the card content section. Static cards can include a 'see more' link to expand hidden content.

Since clickable cards can only contain one interaction, text can't be hidden.

Two columns of horizontal cards. The left-hand column contains a static card with a menu, a clickable card and finally a static card with collapsed content section. The second column contains two clickable cards, a static card with a menu and another clickable card.
Don’t mix card variants when arranged in a group.

Last reviewed 23 October 2025 .
Navigated to Card (horizontal) - Intelligence Community Design System