liveBook · Manning

Component

As explained in Design for Developers

A user interface component is a reusable, self-contained visual and interactive unit of a user interface.

A component is a reusable interface unit that combines visual treatment with an interaction or content pattern. Reusing components creates consistency for users and gives developers a scalable library for building pages. section 2.1.3

Treat components as both a design and implementation decision:

  • Repeat related styles, such as typography, color, shapes, and controls, so users can recognize patterns and navigate with less cognitive effort. section 2.1.3
  • Build a shared component library instead of recreating each page, reducing unique code and making later pages easier to add. section 2.1.3
  • Create only the components the project needs when possible; a smaller, understandable system is easier to maintain, iterate, and keep independent of a third-party ecosystem. section 1.1.4

Repeated listing patterns

A hotel-listing page becomes easier to scan when every listing uses the same headline, description, controls, and visual treatment. Likewise, repeated orange Add to Bag buttons communicate the intended action consistently across products. section 2.1.3

Figure 2.27 The page instantly feels more readable and scannable when styles and components are repeated in the same manner for each hotel listing.

Shows how repeating styles and components makes a page more readable and scannable. section 2.1.3

How Design for Developers covers it

How deep it goes
Explains components through repetition, scalability, performance, and maintenance, but stops short of framework-specific implementation.
Examples
Uses blog typography, hotel listings, orange Add to Bag buttons, and stock-status controls as repeated interface patterns.
What it assumes
Assumes basic visual design principles while teaching how to apply them through layout and UI components.
What you can do after
Build it from scratch as a maintainable component system that serves minimal code and supports later iteration.
How it connects
Connects components with repetition, visual design, frontend frameworks, web standards, scalability, and performance.

Also explained in

Compare how 10 books explain component →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Design for Developers. The section links point to the parts of the book it draws on.