Dev Helpers

Developer journal

UI Components

Accessible interaction patterns and responsive layouts for real interfaces.

← All categories

UI Components

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.

Inline success message

A success message works best beside the action that just completed. Keep it available long enough for someone navigating by keyboard to find it.

Quantity stepper input

A quantity stepper needs minimum and maximum behaviour as well as visible controls. Typed input and button input should converge on the same value.

Full-width section divider

A full-width divider can separate groups without becoming another heading. Consider whether the boundary is semantic or purely decorative.

Empty saved items

An empty saved-items view should distinguish a successful empty result from an unfinished load. Provide a route back to something the reader can save.

Account identity summary

An account summary should make the active identity recognizable before offering account actions. Long addresses need a wrapping policy.

Telephone booking strip

A telephone action needs a readable number and a machine-readable destination. Include enough context to explain who will answer.

Collection position counter

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

Search result with matched text

Highlighting matched text helps readers understand why a result appeared. Preserve the original label and avoid interpreting a search term as markup.

Alphabetical directory jumps

An alphabetical index helps people jump through long directories. Each active letter should point to a section that exists.

Back to top footer

A back-to-top control needs a real destination and an accessible name. Put it where a reader naturally finishes a long page.

List bins carrying the same part

An inventory may place one SKU in more than one bin. Grouping bin labels under the SKU prevents one location from replacing another.

Long-form reading page

A reading page needs a comfortable measure and a visible hierarchy of headings. Supporting navigation should stay useful after the first screen.

Ranked leaderboard

A leaderboard needs an explicit tie policy and row labels. Colour alone is a weak way to distinguish position changes.

Contact profile card

A contact card should expose each communication method with a meaningful link name. A decorative icon cannot explain a destination on its own.

Daily appointment schedule

A daily schedule is easier to scan when times share a stable column. Grouping entries by date reduces repeated labels without hiding the date context.

Equipment inspection ticket

An inspection ticket is easier to act on when equipment identity, finding and status remain grouped. Keep status text available alongside any colour.

Add-on selection panel

Add-on controls should distinguish independent options from mutually exclusive choices. Their labels need to state any price or quantity effect.

Course progress hero

A course progress hero should communicate completion in text alongside any progress graphic. The next lesson is a separate navigation decision.

Monthly target tracker

A monthly target needs actual, target and units in the same context. Decide whether an overshoot is capped visually or displayed explicitly.

Share options popover

A share popover should expose actionable destinations and restore focus when dismissed. Make a copy-link option understandable without its icon.

Launch hero with release notes

A launch hero can carry release context without overwhelming the main action. Link to complete notes so the hero can remain concise.

Message with character limit

A character limit must agree with the backend's definition of length. Emoji and combined characters can complicate a simple count.

Tap-to-reveal answer card

Native disclosure lets a reader reveal an answer without a custom state machine. The summary should still describe what will be revealed.

Large headline statistic

A prominent statistic needs a unit, scope and timeframe. A large number alone gives a reader little basis for comparison.

Partner wordmark strip

A partner strip benefits from consistent optical size rather than identical pixel dimensions. Wide and tall wordmarks need different fits.

Expandable order summary

An expandable order summary should show the important total even while its line items are collapsed. Expanded rows need readable labels for adjustments.

Find a candidate's strongest rank

A candidate's strongest rank is the smallest numeric position among valid ballots. Handle a missing candidate before converting an index into a rank.