Sub topic 17
Tools, Components, and Reusable Kits
This chapter covers how to choose a wireframing tool and how to build reusable components so your screens stay consistent as they multiply. It assumes you can already sketch a layout, apply a grid, and place standard UI components, as covered in earlier chapters. The aim is a small, disciplined kit that saves time without turning wireframes into polished visual design.
What a tool is for
A wireframing tool does four jobs: it lets you draw boxes and text quickly, it keeps repeated elements in sync, it lets several people see and comment on the same file, and it links screens into flows. No tool is required for the thinking. A pen and paper still work for the earliest sketches. A tool earns its place once you have more than a handful of screens, or more than one person editing them.
Your fidelity choice from the earlier chapter should drive the tool choice. Low-fidelity work needs speed and few styling options. Higher-fidelity work needs precise spacing, real components, and states.
Categories of tools
| Category | Examples | Best for | Main drawback |
|---|---|---|---|
| Paper and whiteboard | Paper, sticky notes, whiteboard | First sketches, group workshops | Hard to share, version, or reuse |
| Diagramming and whiteboard apps | Miro, FigJam, draw.io | Flows, sitemaps, rough layouts | Weak support for components and responsive rules |
| Dedicated interface design tools | Figma, Sketch, Adobe XD alternatives, Balsamiq | Screens, components, prototypes | Learning curve, and temptation to over-polish |
| Code-based wireframes | Plain HTML and CSS | Testing real responsive behavior | Slower to change, and needs a developer |
Pick by the question you need answered. If you are asking "does this flow make sense?", a whiteboard app is enough. If you are asking "does this layout hold at three widths?", use a design tool or code.
Criteria for choosing
- Team fit. Choose what the team can already open and comment on. A tool nobody else installs creates a handoff problem.
- Components and variants. You need reusable components with variants for states such as default, hover, disabled, and error.
- Constraints and auto layout. Responsive resizing saves hours when you test breakpoints.
- Prototyping. Linking screens into a clickable flow should not need a second tool.
- Export and handoff. Check that developers can inspect spacing and that you can export images or PDFs for stakeholders.
- Cost and access. Count every seat, including reviewers who only comment.
Components: define once, reuse everywhere
A component is a design element stored in one place and reused in many. Each use is an instance. When you edit the main component, every instance updates. This is the same idea as a function in code: one definition, many calls.
Components matter in wireframes for three reasons:
- Consistency. Every primary button has the same size, label style, and padding.
- Speed. Changing the search bar once updates forty screens.
- Honesty. Reviewers stop debating whether two slightly different buttons mean different things.
What to turn into a component
Componentize anything that appears on three or more screens, or that has states. Typical candidates:
- Header and footer
- Primary navigation (top bar, tab bar, sidebar)
- Buttons, with primary and secondary variants
- Text fields, with default, focused, filled, and error states
- List rows and cards
- Modals and toasts
- Empty-state and error-state blocks
Do not componentize one-off content. A hero section used on a single screen gains nothing from being a component.
Variants and properties
Instead of drawing five separate buttons, build one button with properties. A well-built component exposes the choices a designer needs and hides the rest.
| Property | Values | Purpose |
|---|---|---|
| Type | primary, secondary, text | Visual emphasis |
| State | default, hover, focus, disabled | Behavior |
| Size | small, medium, large | Context |
| Label | editable text | Real content per screen |
| Icon | none, leading, trailing | Meaning |
Keep the label editable. A component that locks its text forces people to detach instances, and detached instances no longer update.
Building a reusable kit
A kit is a shared library of components, styles, and rules that a team uses for every screen. Build the smallest kit that works, then grow it.
Step 1: Fix the foundations
Define these first, because components depend on them:
- Grid and breakpoints. For example 4, 8, and 12 columns at 375, 768, and 1024 pixels.
- Spacing scale. Use multiples of one base unit, such as 4 or 8 pixels.
- Type scale. A few text sizes for heading, subheading, body, and caption.
- Grayscale palette. Three or four grays plus one accent for interactive elements.
Limiting the palette keeps attention on structure. Color arrives later, in visual design.
Step 2: Build atoms, then combine
Start with small pieces (button, input, icon placeholder, label), then assemble larger ones (search bar, card, form row), then page regions (header, filter panel). This is often called atomic design. Large components built from small ones inherit their changes.
Step 3: Name and organize
Use a predictable naming pattern so people can find things by typing. A common form is Category/Component/Variant, for example Button/Primary/Default or Input/Text/Error. Group the library by purpose, not by who made it.
Step 4: Document usage
Add a short note to each component: when to use it, when not to, and which states exist. One or two lines is enough.
Showing the structure of a kit
The diagram below shows how foundations feed components, which feed screens.
Code as a wireframing tool
Earlier in this tutorial you saw a wireframe written as HTML and CSS. Code is also a reusable kit. A shared class such as .wf-box plays the role of a component: change one rule and every region updates.
:root {
--wf-gray-100: #f2f2f2;
--wf-gray-500: #888;
--wf-space: 8px;
}
.wf-box {
border: 1px solid var(--wf-gray-500);
background: var(--wf-gray-100);
padding: var(--wf-space);
}
.wf-button { padding: var(--wf-space) calc(var(--wf-space) * 2); border: 1px solid #333; background: #fff; }
.wf-button[disabled] { color: #888; border-color: #bbb; }The custom properties act like foundations, and the classes act like components. This approach is slower for exploring ideas but accurate for testing responsive behavior.
Common mistakes
- Detaching instances. Overriding a component by detaching it breaks the link. Add a variant or property instead.
- Too many variants. A button with sixty combinations is hard to use. Split rarely used cases into separate components.
- Polishing too early. Shadows, gradients, and brand colors invite visual debate and hide structural problems.
- Kit sprawl. Several copies of "the" header across files drift apart. Keep one shared library file and publish updates deliberately.
- No owner. A kit needs one person responsible for reviewing changes.
- Skipping states. Components without error and disabled variants force improvisation later.
Versioning the kit
Treat the kit like software. Record what changed, why, and when. Most tools provide version history and named versions. Name a version when you finish a milestone, such as "v1.2: added toast and error states". Then screens can be traced back to the kit version they used.
Exercise
Your team has 30 screens. The "Add to cart" button appears on 12 of them, and a stakeholder asks you to change it from a text-only label to a label with a leading icon. Describe how a component with variants handles this, and what goes wrong if people detached their instances.
Show answer
With a single Button component that has an Icon property (none, leading, trailing), you set the main component to the leading-icon option or switch the instances' property, and all 12 instances update from one edit. If people detached their instances, those buttons no longer follow the main component, so you must find and edit each one by hand, and any you miss will be inconsistent.
Exercise
List the four foundations you should define before building components, and give one reason why limiting the palette to grays plus one accent helps at wireframe stage.
Show answer
Grid and breakpoints, spacing scale, type scale, and a grayscale palette. A limited palette keeps reviewers focused on structure, content, and behavior instead of debating color, which belongs to the later visual design stage.