·
5 to 7 hours
HD·P2·03 Advanced

Component Design Patterns

Good components solve a problem once and solve it well.

Component design patterns are reusable solutions to common interface problems. This course covers anatomy, states, variants and documentation for components such as buttons, forms and navigation.

In Development

This course's full module content is being written. The outline below is final, subscribe for updates when it publishes.

LEARNING OUTCOMES

  1. 01 Break a component into anatomy and states
  2. 02 Design variants without multiplying complexity
  3. 03 Define behaviour for focus, hover, error and disabled states
  4. 04 Document usage and accessibility guidance
  5. 05 Decide when to create a new component
01

Anatomy of a Component

Every component has parts, states and rules. Naming the anatomy makes it easier to design, build and test.
01 ▶ present
02

States and Behaviour

Default, hover, focus, active, disabled and error states must all be designed. Missing states cause inconsistent product behaviour.
02 ▶ present
03

Variants and Composition

Variants should express real needs, not every possible style. Composing small components beats creating many one-off ones.
03 ▶ present
04

Accessibility Built In

Keyboard use, focus order and labels belong in the component, not in each product. Accessible defaults protect every team using it.
04 ▶ present
05

Documentation and Contribution

Usage guidance, dos and don'ts and a contribution path keep components coherent. Decide clearly when a request deserves a new component.
05 ▶ present