Chips toggle. On small screens the row scrolls sideways instead of wrapping.
<div class="chip-row" style="--gutter: 16px">
  <button class="chip" aria-pressed="true">All</button>
  <button class="chip" aria-pressed="false">Open</button>
  <button class="chip chip-dashed">+ Filter</button>
</div>

Spec

A full pill with a 1px border, 4×12px padding, 12px medium text and 6px between chips. The row is 48px tall from 640px up.

States

State Trigger Look
Rest — Muted text, no fill
Hover — Muted fill at 60%, foreground text
Active aria-pressed="true" or aria-selected="true" Muted fill, foreground text
Add .chip-dashed Dashed border, for a chip that adds a filter rather than being one

Small screens

The row scrolls sideways instead of wrapping (six chips on three lines read as a form, not a filter). It bleeds into the page gutter, so the last chip disappears under the screen edge, which tells the user there's more. Set --gutter to the page's side padding. There is no scrollbar.

sesan.studio