List cells
List cells

List cells

List cells

image

List cell is a basic component of navigation, action selection, or information block. You can configure the component internally, assembling what you need from it.

List cells support design tokens and any color tokens. Editing is enabled.

Behaviour
image

Has a configuration type with one button or two buttons. Component size depends on the layout. The button is the same as Button low.

image

Content right always has a 16 px margin from icon and is fixed.

image

List cells can contain several lines of text on the left.

It can contain any color style but the styles should be limited by tokens. A basic set of tokens:

Colors: Background/Secondary Text/Title Text/Body Icon/Chevron Icon/Notification Divider/Main Control/Tertiary

Typography: Body/Regular Body/Semibold Caption 1/Regular Caption 3/Semibold

image

List cell supports RTL (right-to-left). Although there’s no automatic RTL option in design (designer should create it manually), there’s such a funchion in code (developer can mirror existing components).

image

The component supports counter in Content right in all the types. Color outline: Background/Secondary.

Also, List cells support label. It is important to localize this component.

Important: The counter can be with or without value.
image

List cells support counter in Content Left in Icon types. Color outline: Background/Secondary.

Important: The counter can be with or without value.

Content left

Specs

For one line, there are 18 px top margins. For two lines, there are 8 px top margins.

Recommended length:

Title: up to 80 characters, including space. Subtitle: up to 150 characters, including space.

Default

image

Double text

image

Inverted text

image

Icon and text

image

Icon options:

  1. Size 40×40: PNG, SVG. The icon comes from Modulor and may have a dark or light theme option.
  2. Size 24×24: PNG, SVG. The icon comes from Modulor and may have a dark or light theme option.

The 24×24 icon is situated inside the 40×40 block. The 40×40 block may also have a color that comes from tokens.

Icon and double text

image

Icon and inverted text

image

List cells with radio button

The component has a Radio button in a 40x40 px block. The indent between radio button and text is 8 px. The padding is 8 px.

Default

image

Double text

image

Inverted text

image

Image and text

image

The image has 2 sizes: L and XL.

L — 56x56 px

  • without indents:

Only container with an image inside.

Padding: 0 Height: 56 px Width: 56 px

  • with indents:

Top and bottom padding: 8 px Left padding: 12 px Height: 56 px Width: 56 px

XL — 84x84 px

  • without indents:

Only container with an image inside.

Padding: 0 Height: 84 px Width: 84 px

  • with indents:

Top and bottom padding: 8 px Left padding: 12 px Height: 72 px Width: 72 px

image

Without paddings, an image can fill the list cell completely.

Image and double text

image

Image and inverted text

image

Content right

Specs

Default

image

The component contains icons + text (value). It can also contain a counter and label.

If the text has more than 15 characters, the end is hidden with "..."

Recommended length:

Max: 13 characters Optimal: 7 characters

Empty

image

Single arrow

image

Checkbox

image

Has the same features as Checkbox.

Checkbox and text

image

Has the same features as Checkbox.

Radio button

image

Has the same features as Radio button.

Radio button and text

image

Has the same features as Radio button.

Switch

image

Has the same features as Switch.

Switch and text

image

Has the same features as Switch.

Double text

image

Besides the icon ic/24/chevron_right, the component can also contain other icons.

Double inverted text

image

Icon and text

image

Has the same behavior as Default.

Text

image

Button

image

The component has the same features as Button low. There is a right margin of 16 px for button.

Image

image

The image has 2 sizes: L and XL.

L — 56x56 px

  • without indents:

Only container with an image inside.

Padding: 0 Height: 56 px Width: 56 px

  • with indents:

Top and bottom padding: 8 px Left padding: 16 px Height: 56 px Width: 56 px

XL — 84x84 px

  • without indents:

Only container with an image inside.

Padding: 0 Height: 84 px Width: 84 px

  • with indents:

Top and bottom padding: 8 px Left padding: 16 px Height: 68 px Width: 68 px

image

Without paddings, an image can fill the list cell completely.

Slots support

image

You can use the slots in the components at the bottom. You can set any height of these slots. The width is always 100%.

icon
All rights reserved © GR8 Tech 2023 Twitter · View on Product Hunt