Dev Helpers

UI Components / Pagination and wayfinding

Collection position counter

Dev Helpers · July 8, 2026

A position counter tells the reader which item is visible. Update both current position and total when filtering changes the underlying collection.

Worked example

<div class="box stack">
  <p class="kicker">Print collection</p>
  <h2>Study in green</h2>
  <p>Piece 4 of 12</p>
  <progress value="4" max="12">4 / 12</progress>
</div>

Implementation notes

A counter can become stale after deleting the current item. Clamp the active position after the list changes and define an empty-state label.

Try it yourself

Filter down to one item from the middle of a list.

Open the UI Components example →

Editorial date July 8, 2026 · Published December 6, 2026

Related articles

Article byline

A byline combines authorship and dates without competing with the headline. Use a machine-readable time value alongside the visible date.

Audio episode transcript card

An episode transcript serves readers who cannot or prefer not to play audio. Identify speakers in text and keep the transcript easy to navigate.

Split editorial hero

A split editorial hero needs a deliberate reading order when columns collapse. Place essential copy where it remains intelligible without the accompanying image.