Black Friday on täällä! Luo sovellus ja nauti nyt 50 %:n alennuksesta!

Enriched Cell

Meta-Cells

The Enriched cell sets the image beside the text, and gathers the author and the actions on a row below. It suits lists where nothing about the content should be left out.

Introduction

The Enriched cell puts the image of a piece of content next to its text, and gathers its author and its actions on a row below them. It is the cell to choose when each piece of content needs its full information, an image, a title, a few lines and its author, in a layout where neither the image nor the text takes over. It displays articles, videos, podcasts or map points, in a section as in a widget of the home page.

It is one of the meta-cells of the design system, a layout made of elements that stays the same whatever the content it shows.

Anatomy

The elements

The cell assembles three elements. The Media holds the image and the elements that sit on it. The Content stacks the text blocks, an information above the title, the title and an information below it. The ToolBar runs below both, with the author on the left and the actions on the right. For a geolocated piece of content, the Address is added under the text.

The Media and the Content share the first row of the cell. The ToolBar takes its full width under them.

The elements of the cell

The elements of the cell

What the cell shows

By type of content

The elements displayed depend on the type of content. An article shows its image, its text and its ToolBar, with the author and the actions. A video adds the play icon at the center of the image and the duration in a corner. For a podcast, the Player takes the place of the author in the ToolBar. A map point shows the favorite action over its image and its address under the text, and has no ToolBar.

An article, a video, a podcast and a map point

An article, a video, a podcast and a map point

Free and paid

When a piece of content is reserved to subscribers, the Premium Sticker comes in front of the title, and the ToolBar keeps fewer actions. The Player of a podcast is disabled, and a map point no longer shows its address.

The same article, free and reserved

The same article, free and reserved

The lines of text

The title is never cut, the cell grows with it. The information above and below the title are limited to a few lines each, and the line of author and information stays on one line. A piece of information that is missing is simply not displayed.

Layout

Spacing

By default, the cell has a padding of one G on its four sides. The Media, the Content and the ToolBar are one G apart, like the address under the text of a map point, and the blocks of the Content are half a G apart. These values follow the gutter of the app.

One G around and between the elements, half a G between the lines

One G around and between the elements, half a G between the lines

The thumbnail

The image can sit on the left or on the right of the text, as the list decides. Its width is set by the list. In a narrow list it takes 45% of the width of the cell inside its padding, and a square image only 33%, so that the text keeps its room. The aspect ratios offered, 4:3 by default, square, golden ratio, and 16:9 for videos, depend on the type of content.

On the left, on the right, and square

On the left, on the right, and square

Columns

A list of Enriched cells can run on several columns. As the Grid explains, their number comes from the width of the window and from the column threshold of the layout, never from the device. Each cell fills the width it has, and the list adds a column as soon as a cell would exceed that threshold. On a row, all the cells take the height of the tallest. When the last row is not full, its cells keep the width of the others.

Properties

Background and border

The cell can take a Background, a color or a gradient, and a Border. The list sets both. A list shows separators between its cells or borders around them, never both at the same time. Without a background, the cell has no padding, its content runs to its edges, and the cells are set two G apart.

A background, a border, and no background

A background, a border, and no background

Shape

The Shape of the app applies to the cell and to its thumbnail, with sharp, rounded or round corners.

Sharp, rounded and round

Sharp, rounded and round

Shadow

The Shadow atom applies to the cell when it has a background. Without a background, it moves to the thumbnail.

On the cell, or on the thumbnail without a background

On the cell, or on the thumbnail without a background

Behavior

Without an image

When a piece of content has no image, the cell shows no default thumbnail, and the text takes the whole width. A map point keeps its favorite action, which moves to the top left of the cell, where the image would have been.

Without an image, and the map point that keeps its favorite

Without an image, and the map point that keeps its favorite