Skip to content
Theme
endue.ai

Components, Content

List

A section header and a group of rows divided by hairlines, used in place of cards.

Name in code List

Needs attention 3

Ri
Today's goals
Ria is waiting for your answer. Which one should go first?
42 min ago
Ot
Atelier weekly report
It failed. The model took too long to respond.
1 hour ago

Working now 1

Three merch designs
Ria is making the image
4 min

Finished 2

Presence XR validation brief
Ria finished it
YesterdayView result

A section header and a group of rows divided by hairlines. The preview here is static. Props and accessibility behavior are settled at implementation time.

Anatomy

Part Appearance
SectionHeader 14px, weight 600, muted-foreground. A count follows at weight 400. One action can sit on the right
ListRow A 1px border hairline on top, 12px padding above and below. Lead (avatar, icon or Star), title, description, time, action
Title 14px, weight 600, foreground, one line
Description 14px muted-foreground, one line. A failure uses destructive-text
Time 12px muted-foreground, tabular
Action One BaseButton outline sm, or a row-end link (Link)
  • The group as a whole is not wrapped in a card. Sections are separated by 32px of space.
  • When the whole row is pressable, interactive turns on the hover surface (accent). Such a row has no action inside it.

What you provide

  • The title is the name of the item. The description is a sentence that says its state right now (“Ria is waiting for your answer”).
  • Use one lead element only.

Markup

<section class="List_section">
  <h3 class="List_header">Needs attention <span class="List_count">3</span></h3>
  <div class="List_row">
    <span class="List_lead"><span class="Avatar_avatar Avatar_avatar--sm">Ri</span></span>
    <div class="List_text"><div class="List_title">Today's goals</div><div class="List_desc">Ria is waiting for your answer.</div></div>
    <span class="List_meta">42 min ago</span>
    <button type="button" class="BaseButton_btn BaseButton_btn--outline BaseButton_btn--sm">Answer</button>
  </div>
</section>

Don’t

  • Don’t put a bordered box around each row.
  • Don’t put more than two actions in one row. If there are more, gather them in a Menu.
  • Don’t attach status as a color badge. Say it in the description sentence.