Guide collection

User Interface

Section guides for UI implementation details and design decisions

17 guides in this collection

Feedback

Notification Badge Behavior

A badge counts things that need attention. Decide what clears it, cap the number, and tell assistive technology without shouting.

2 min read
Data

Table Sorting and Pagination UX

Sort state belongs in the URL, a new sort returns to page one, and the order must be stable or rows will repeat and vanish between pages.

3 min read
Feedback

Tooltip or Popover: When to Use Which

A tooltip is a short label that appears on hover and focus and holds nothing to click. Anything richer is a popover, opened on purpose.

3 min read
Layout

iOS Safari Viewport Rules

Three rules for full-height layouts on iPhone: size with svh, combine safe-area insets with max, and remember that a fluid root font changes every rem.

3 min read
Guide

Chart Colour Follows the Data, Not Its Rank

Tie each series colour to the metric it shows through one lookup, so a metric keeps its colour in every chart and removing one never repaints the rest.

2 min read