Sub topic 9
Using standard components and patterns
This chapter assumes you can sketch a screen layout on a grid and you know the visual hierarchy basics from earlier chapters. It covers how to pick standard components, how to combine them into patterns, and which mistakes show up most often in wireframes.
Why standard components matter
A component is a reusable interface element with a defined job, such as a button, a text field, or a tab bar. A pattern is a known combination of components that solves a recurring problem, such as a search with filters or a multi-step form.
Users arrive with expectations built from other products. A magnifying glass opens search. A trash can deletes. A row with a chevron opens a detail screen. When your wireframe follows these conventions, users spend no effort learning the screen. When it breaks them, you have to justify the cost.
Standard components also help your team:
- Reviewers judge structure instead of arguing about unusual widgets.
- Developers map each box to a component they already have.
- You work faster, because you draw from a kit instead of inventing each element.
Choosing a component by the job it does
Start from the task, not the widget. Ask what the user must do on this screen, then pick the component that fits that data and that number of choices.
| User task | Good component | When to prefer it | Common misuse |
|---|---|---|---|
| Choose one of 2–5 options | Radio buttons or segmented control | All options should be visible at once | Dropdown for 3 options hides choices |
| Choose one of many options | Dropdown, picker, or searchable list | More than about 7 options | Radio list of 20 items |
| Choose several options | Checkboxes or chips | Independent yes/no choices | Radio buttons for multi-select |
| Turn a setting on or off immediately | Toggle switch | The change applies at once | Toggle inside a form that needs a Save button |
| Enter short free text | Text field | Input is short and unpredictable | Free text where a fixed list exists |
| Pick a date | Date picker | Calendar context helps | Three separate text fields for a known date |
| Trigger an action | Button | The action is clear | A link styled as a button for a destructive action |
| Move to another page | Link | Navigation, not action | A button that only navigates |
Two rules cover most cases. Use a toggle for settings that apply immediately, and use a checkbox when the choice is submitted later. Use a button for actions and a link for navigation.
Component states
Each component in a wireframe has more than one appearance. At minimum, think through these states for every interactive element:
- Default
- Focused (keyboard or screen reader focus)
- Pressed or active
- Disabled
- Error (for inputs)
You don't need to draw all five for every field. Draw them once in your kit, then annotate exceptions. A disabled button should come with a note about what enables it, because "disabled with no explanation" is a common usability failure.
Common patterns
Forms
Put labels above fields on mobile and narrow layouts, because it keeps the field full width and works with longer labels. Mark optional fields rather than required ones when most fields are required. Group related fields under a heading and keep one primary action at the bottom.
Lists and cards
Use a list when users scan and compare items by one or two attributes. Use cards when each item has an image or several attributes of mixed types. Decide which attributes appear in the list and which only on the detail screen, and show that choice in the wireframe.
Search and filter
A search pattern has four parts: the input, suggestions or recent searches, the results list, and a no-results state. Filters belong in a side panel on wide screens and in a full-screen sheet on small ones.
Modals and confirmations
A modal interrupts the user, so reserve it for decisions that need attention, such as confirming a deletion. Do not use a modal for information that could sit inline. A confirmation dialog should name the action on its button, for example "Delete order" instead of "OK".
Tables
Use a table when users compare values across rows. Define the default sort, which columns can be sorted, and what happens on a narrow screen, where a table often becomes a list of cards.
Putting patterns together: the order history screen
The earlier screen from the spine, an order history page, combines several patterns. This wireframe uses semantic landmarks so the regions are clear.
<body class="wf">
<header class="wf-box">Logo | Search | Account</header>
<nav class="wf-box" aria-label="Primary">Home | Orders | Support</nav>
<main class="wf-grid">
<section class="wf-main wf-box">
<h1>Order history</h1>
<ul>
<li>Order #1001 - Shipped</li>
<li>Order #1002 - Delivered</li>
</ul>
</section>
<aside class="wf-side wf-box">Filters</aside>
</main>
<footer class="wf-box">Help | Terms</footer>
</body>The list is the main pattern. The filters are a secondary pattern. The navigation is a persistent pattern. The next block gives the grid behavior, so the filters stack below the list on small screens and sit beside it on wide ones.
.wf-box { border: 1px solid #888; background: #f2f2f2; padding: 8px; }
.wf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wf-main, .wf-side { grid-column: 1 / -1; }
@media (min-width: 768px) {
.wf-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 1024px) {
.wf-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
.wf-main { grid-column: span 8; }
.wf-side { grid-column: span 4; }
}Common errors
- Custom controls without a reason. A novel slider or gesture needs instructions. If a standard control does the job, use it.
- Inconsistent components. Two different button styles for the same action make users doubt both. Build one component and reuse it.
- Too many primary actions. One primary button per screen section keeps hierarchy clear.
- Touch targets that are too small. Plan for roughly 44 by 44 points on iOS and 48 by 48 dp on Android for tappable items.
- Icons without labels. Only a few icons are universal. Add text to the rest.
- Hidden essentials. Do not bury a primary task inside an overflow menu.
Naming and reuse
Name each component in your kit by its role, such as "Button / Primary" and "Input / Text / Error". Names help annotations and handoff, because a developer can read "use Input / Text / Error" without opening a drawing. When you must create a new component, record why a standard one failed. That record becomes useful when the same question comes up in review.
Exercise
A settings screen has a "Dark mode" option, and the app applies the change the moment the user selects it. Which component should you wireframe, and what must you add to the wireframe if the screen also has a "Save" button for other fields?
Show answer
Use a toggle switch, because the change applies immediately. If a Save button exists for other fields, add an annotation that the toggle is not part of the Save group and takes effect at once. Otherwise users may expect it to wait for Save.
Exercise
A filter panel offers 12 product categories, and users can select more than one. Name the component, and say how the layout should change between a wide desktop screen and a phone.
Show answer
Use checkboxes or chips, because the choices are independent and multiple selection is allowed. On a wide screen, place the panel in a side column next to the results. On a phone, move it into a full-screen sheet opened by a "Filters" button, and show the count of applied filters on that button.