Skip to content
Sections
Fiesta

dropdown

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

A zero-JavaScript disclosure: a summary button over a panel of plain links. Put it in a row beside what it acts on, never on a line of its own.

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

A filter menu with one choice applied

Preview
<div rst-box-head>
  <h2>Posts</h2>
  <details rst-dropdown name="rst-menus">
    <summary rst-btn aria-label="Sort posts: newest first">
      Newest
      <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
    </summary>
    <div rst-dropdown-menu>
      <a href="/posts?sort=newest" aria-current="true">Newest <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></a>
      <a href="/posts?sort=oldest">Oldest</a>
      <a href="/posts?sort=title">By title</a>
    </div>
  </details>
</div>

In an app this would reach /posts?sort=newest, /posts?sort=oldest, /posts?sort=title. Here its links and forms go nowhere.