Skip to content

Tiles

Edit on GitHub
@volvo-cars/css v2.3.0

Text tile in default state

Showing: Text tile in default state

The text tile is free-forming and can be set to any width or height you need. For consistency, use the allowed ratios coming from the media placeholder as far as possible.

Text tile sizing variants overview

Text tile sizing variants detail

Showing: Text tile in various sizes.

The text tile comes with an optional icon that can be turned on and off.

Text tile with and without icon

Showing: Text tile without icon (left) and with icon (right)

The text tile is clickable with states. The link underline included in the tile has states as well.

Text tile interaction states

The text tile supports secondary background.

Text tile in secondary background

Showing: Text tile in secondary background

In vertical columns and grids the text tile can use gridded-element-gap or a more traditional gutter depending on context.

Text tile with gridded-element-gap

Showing: Text tile with gridded-element-gap

Text tile with gutter

Showing: Text tile with gutter

The text tile needs page margin — ensure it’s added to the page or container.

Text tile page margin overview

Text tile page margin detail

Showing: Text tile in page margin layout

Text tile used for car category navigation

Example: Text tile used as on-page linking for car categories

Text tile used for support category navigation

Example: Text tile used as on-page linking for support categories

Media tile in default state

Showing: Media tile in default state

The media tile includes multiple media ratios to allow for compact and tall layouts.

Media tile ratio variants

Showing: 1:1, 4:5, and 16:9 ratio variants.

The media tile includes two media types to allow for image and video.

Media tile image and video variants

Showing: Image and video variants

The media tile includes two layouts: vertical and horizontal.

Media tile vertical and horizontal layout

Showing: Media tile in vertical and horizontal layout

The media tile is clickable with states. The image in the tile will scale on hover. The link underline included in the tile has states as well.

Media tile interaction states

The media tile supports primary background.

Media tile in primary background

Showing: Media tile in primary background

The media section comes with a default secondary background color to support transparent PNGs.

Media tile with secondary background in media container

Showing: Media tile with secondary background in media container

In vertical columns and grids the media tile can use gridded-element-gap or a more traditional gutter depending on context.

Media tile with gridded-element-gap

Showing: Media tile with gridded-element-gap

Media tile with gutter

Showing: Media tile with gutter

The media tile needs page margin — ensure it’s added to the page or container.

Media tile page margin overview

Media tile page margin detail

Showing: Media tile in page margin layout

Media tile used for company core principles navigation

Example: Media tile used as on-page linking for company core principles

Media tile used for PDP sub-page navigation

Example: Media tile used as on-page linking between PDP sub-pages

Media tile used for body type navigation

Example: Media tile used for on-page linking between body types

Media tile used on a Model Selector page

Example: Media tile used on a Model Selector page

Text tile in a constrained grid

Do put tiles in a grid or space where the width is constrained.

Media tile in a constrained grid

Do put tiles in a grid or space where the width is constrained.

Text tile taking up full page width

Don’t use one tile to take up the full width of a page on larger breakpoints.

Media tile taking up full page width

Don’t use one tile to take up the full width of a page on larger breakpoints.

Always put tiles in containers with pagemargin if the container spans the page.

Text tile with pagemargin on grid container

Do use pagemargin on the grid container.

Text tile without pagemargin going full bleed

Don’t go full bleed on the grid container.

Figma — Text Tile (Web Core Library)

Figma — Media Tile (Web Core Library)