NEW
A curated collection of reusable UI components and interaction patterns with documented usage guidelines.
DESCRIPTION
A pattern library catalogs reusable interface components and interaction solutions, each documented with purpose, usage guidance, accessibility notes, and code examples. It supports consistency, accelerates delivery, and reduces design debt across products. Pattern libraries are often part of broader design systems and are maintained collaboratively by design and engineering teams. They commonly include variants, states, and do/don’t guidance to ensure correct application. Mature libraries integrate design tokens and align with branding and accessibility standards.
ALTERNATIVE DEFINITIONS
Nielsen Norman Group
A pattern library is a collection of recurring design patterns that solve common usability problems, documented with examples and guidelines.
Emphasizes usability problem-solving and guidance.
GOV.UK Design System
Design patterns are best practice solutions to common user needs. Use them to help users complete tasks and meet expectations of GOV.UK.
Focuses on user needs and government service context.
Design Systems Repo
A pattern library is a collection of user interface components that are reusable and documented for consistent implementation.
Highlights reusability and documentation for consistency.
RELATED TERMS
Style Guide Atomic Design Design Tokens Accessibility UI Kit Documentation Governance CSS Framework
COMPETING TERMS
Design System Component Library
KNOWLEDGE AREAS
Platform & Tooling Software Engineering Collaboration
TARGET AUDIENCE
UI-UX Designer Software Developer Software Architect Product Owner
EXTERNAL SOURCES
- Wikipedia - Design system
- GOV.UK Design System - Government design patterns catalog
- U.S. General Services Administration - Government guidance on design patterns
- Google Material Design - Design system including patterns
- U.S. Web Design System - Components and patterns for federal sites
TOP QUESTIONS
What is a Pattern Library and why does it matter?
A Pattern Library centralizes reusable UI solutions with guidance. It ensures consistency, improves usability, and speeds delivery by reducing rework. Teams align on standards through shared documentation.
Category: Relevancy
How is a Pattern Library different from a Design System?
A Pattern Library focuses on components and interaction patterns. A Design System is broader, including brand, tokens, principles, and governance. Libraries are often a subsystem of design systems.
Category: Misunderstanding
Who should maintain a Pattern Library?
UI/UX designers and software developers maintain it collaboratively. A governance group approves changes and enforces standards. Documentation ensures cross-team adoption.
Category: Management
What common mistakes occur with Pattern Libraries?
Outdated patterns, poor accessibility guidance, and missing code examples hinder adoption. Lack of governance causes divergence and duplication. Overly rigid rules stifle innovation.
Category: Mistakes
How do you start a Pattern Library?
Audit existing UI components, define design tokens, and document patterns with code samples. Establish contribution and review processes. Pilot with a critical product and iterate.
Category: Requirements
What is currently a hot topic around Pattern Libraries?
Design tokens and cross-platform component generation are trending. Accessibility baked into patterns and automated linting tools help enforce standards. Documentation-as-code is gaining traction.
Category: Topic
How does a Pattern Library support accessibility?
Patterns include ARIA usage, keyboard interactions, contrast requirements, and screen-reader considerations. Standardized implementations reduce accessibility regressions across apps.
Category: Example
What risks accompany Pattern Library adoption?
If governance lags, teams fork patterns and create inconsistencies. Over-customization erodes reusability. Underinvestment in maintenance leads to security and accessibility issues.
Category: Risks
Which roles benefit most from a Pattern Library?
UI/UX designers ensure consistency, and developers gain reliable components. Product owners see faster delivery and reduced defects. Architects enforce standards across portfolios.
Category: Audience