List row

v1.1

List rows combine a set of content inside a horizontal layout.

  • CSS
  • Marko
  • React

Anatomy

Properties

Behavior

Swipe actions

List rows can reveal contextual actions when swiped horizontally. Swipe actions are a touch enhancement and should never be the only way to reach an action.

Screens sizes

Small

List rows commonly expand the full width of their parent container on small screens.

A mobile screen with two sections. Each section has a section title and list group. The list rows fill the width of the screen. Each row has a single line of text in the content area and a trailing text element indicating the total number of items available for each list row.
A mobile screen with a single list group representing direct messages. The list group has 5 visible list rows, each with a leading avatar, a title and description in the content area, and a trailing text element with metadata indicating when the message was received.

Best practices

Specs

A single list row with measurements. Elements within a list row have 16 pixels of space between them.
Exposed contextual action buttons 16px from the edge and 8px gap between them, and 64px by 64px in size.