Skip to content
Sections
Fiesta

list-row-action

List screen Generic list screen with title, toolbar, rows that work desktop and mobile.

One list row: the record's name as the primary link, a meta line, and a secondary action.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Lead marker, status and an action

Preview

Put this inside <div rst-list>.

<div rst-row>
  <span rst-row-lead data-lead="accent" aria-hidden="true">RN</span>
  <span rst-row-main><a href="/posts/1">Release notes, August</a>
    <small rst-row-sub>Published 2 August · 4 min read</small>
  </span>
  <span rst-status rst-tone="positive">Published</span>
  <a rst-row-action href="/posts/1/edit" aria-label="Edit Release notes, August">Edit</a>
</div>

In an app this would reach /posts/1, /posts/1/edit. Here its links and forms go nowhere.

Name and meta line only

Preview

Put this inside <div rst-list>.

<div rst-row>
  <span rst-row-main><a href="/posts/2">Why we moved off the old runner</a>
    <small rst-row-sub>Draft · saved 20 minutes ago</small>
  </span>
</div>

In an app this would reach /posts/2. Here its links and forms go nowhere.

A short status beside the name

rst-status="inline" keeps a short status on the name's line on a phone. Without it the status moves under the name.

Preview

Put this inside <div rst-list>.

<div rst-row>
  <span rst-row-lead data-lead="accent" aria-hidden="true">RN</span>
  <span rst-row-main><a href="/posts/1">Release notes, August</a>
    <small rst-row-sub>Published 2 August · 4 min read</small>
  </span>
  <span rst-status="inline" rst-tone="positive">Published</span>
  <a rst-row-action href="/posts/1/edit" aria-label="Edit Release notes, August">Edit</a>
</div>

In an app this would reach /posts/1, /posts/1/edit. Here its links and forms go nowhere.