More projects at alexanderclaes.com
patterns

Opinionated UI/UX guidance grounded in established sources.

About this reference

19 UI/UX pattern guides for developers. Each covers when to use a pattern, when to avoid it, implementation details, accessibility, and tradeoffs.

Using the guides

Search by component or problem, or filter by topic. Each guide includes an example and a verification question. Recommendations are defaults to evaluate against your application’s requirements.

For AI agents

The AI agent skill lets your agent use this reference when choosing and implementing UI/UX patterns. Read the SKILL.md file or follow the setup instructions on the skill page. The skill and its linked Markdown guides are generated from the same content as the website.

Sources

We check the sources for each topic and point out material differences. Technical requirements come first within their scope. For design advice that leaves a choice, we use the preference order below.

Requirements and implementation

  • Web and accessibility standards. Use applicable WCAG, HTML, WAI-ARIA and protocol requirements for conformance, native behavior and interoperability. Distinguish normative requirements from explanatory guidance. WCAG 2.2 · HTML Standard · WAI-ARIA · IETF RFCs
  • Accessibility and browser implementation guidance. Use W3C WAI tutorials and APG for accessible interaction patterns, and MDN for browser APIs and native HTML. APG examples and tutorials are implementation guidance; test the finished interface with its users and supported technology. WAI tutorials · ARIA Authoring Practices Guide · MDN
  • Security guidance. Use OWASP for server validation, authorization and other security controls. Interface convenience must preserve those controls. OWASP Cheat Sheet Series

Preferred design sources, in order

  1. GOV.UK Design System — Default for forms, transactions, navigation and service content. Check whether its government-service assumptions fit the task.
  2. IBM Carbon — Next reference, especially for dense application interfaces, workspaces and data-heavy tasks.
  3. U.S. Web Design System — Additional component and service guidance. Preserve component-specific accessibility warnings.
  4. Singapore Government Design System — Additional component guidance, with its particular interaction and modality assumptions.
  5. Scottish Government Design System — Additional public-service guidance, including search and mobile filtering.
  6. GitHub Primer — Additional application guidance, including focus management and dynamic content.

When sources differ

  • Compare the current sources relevant to the decision. Identify whether they disagree about a requirement, a design default, or the behavior of a particular component.
  • Use the first applicable design source in the order above as the default. More relevant task evidence or a component-specific limitation can justify another choice; explain and record the reason.
  • State the material alternatives, the source we prefer for that decision, and why. Preserve scope, qualifications and known accessibility issues. Label our own synthesis as a recommendation.
  • When a source is unavailable or the evidence is inconclusive, disclose the limitation. Do not describe the decision as source-verified or invent agreement.

Guide-specific source choices

Examples demonstrate individual interactions. They do not replace keyboard, screen reader, zoom, and usability checks in your application.

Browser behavior

Search and examples run locally in your browser. Queries and topic filters are included in the URL. Example data is not sent to a server or saved by this site. No analytics, external fonts, or third-party scripts are loaded.

Maintained by Alexander Claes. Source policy updated 30 October 2026.