Sub topic 15
Style guides and reusable patterns
This chapter assumes you have read the earlier chapters on plain language, terminology, voice and tone, button labels, form copy, error messages, accessibility and localization. It shows how to capture those decisions in a style guide so a whole team can reuse them.
Why a style guide exists
Copy decisions that live in one writer's head disappear when that writer is busy or leaves. A content style guide is a shared document that records how your product writes, with reasons and examples. A pattern library is the part of it that holds ready-to-use text for recurring situations, such as a delete confirmation or a required-field error.
A guide does four jobs:
- It keeps wording consistent across screens written by different people.
- It speeds up work, because nobody rewrites the same error message from scratch.
- It lets developers and designers write acceptable copy without waiting for a writer.
- It records why a decision was made, so people do not reopen settled debates.
What to put in the guide
Build the guide from the decisions you have already made in earlier chapters. Each section below maps to one of them.
| Section | What it records | Example entry |
|---|---|---|
| Voice and tone | The product's fixed personality and how tone shifts by moment | "Voice: direct, calm, helpful. Tone in errors: neutral, no jokes." |
| Terminology | One approved word per concept, plus words to avoid | "Use *project*. Do not use *workspace* or *folder*." |
| Grammar and mechanics | Capitalization, punctuation, numbers, dates | "Sentence case for buttons. No exclamation marks in errors." |
| Component patterns | Templates for buttons, forms, errors, empty states, confirmations | "Destructive button: verb + object." |
| Accessibility rules | Requirements for labels, links and error text | "Link text must make sense out of context." |
| Localization rules | Writing habits that keep text translatable | "Do not build sentences from fragments." |
Keep each rule short and attach an example. A rule without an example is easy to misread. An example without a rule is easy to copy wrongly.
Show the reason, not only the rule
"Use sentence case" is a rule. "Use sentence case because it reads faster and matches how people write in everyday messages" is a rule with a reason. Reasons help people apply the rule to cases the guide did not predict.
Turning decisions into patterns
A pattern is a template with fixed parts and variable parts. Fixed parts carry the structure. Variable parts are filled in by the person writing the screen.
Look at the delete confirmation from the earlier chapter on confirmations:
Title: Delete 'Q3 report'?
Body: This removes the file for everyone on the team. You can restore it from Trash for 30 days.
Buttons: Cancel | Delete fileWritten as a reusable pattern, it becomes:
Title: Delete '{object name}'?
Body: This removes the {object type} for {who is affected}. {Recovery option, or "This can't be undone."}
Buttons: Cancel | Delete {object type}The pattern fixes three things: the title names the object, the body states the consequence, and the confirm button repeats the action. Anyone filling in the braces produces a dialog that follows the same logic.
The same approach works for error messages. A useful error pattern has three slots: what happened, why if it helps, and what to do next.
Pattern: {What to do}, {with the expected format or limit}.
Example: Enter an email address like [email protected].
Pattern: {What went wrong}. {How to fix it}.
Example: We couldn't save your changes because you're offline. Reconnect and try again.Keep patterns small
A pattern should cover one situation. If a template needs five optional slots and three exceptions, split it into two patterns. Large, flexible templates produce inconsistent results because every writer fills them differently.
Do and don't pairs
Pairs of good and bad examples are the fastest way to teach a rule. Place them next to the rule they illustrate.
| Rule | Don't | Do |
|---|---|---|
| Name the action | Submit | Send invoice |
| Name the destination | Click here | Read the refund policy |
| Explain the fix | Error 422: Invalid input in field. | Enter an email address like [email protected]. |
| Match confirm button to action | OK | Delete project |
Always use real product text in examples, not invented sentences. Real examples show how the rule works under real length limits and with real terms.
Tie patterns to code and design tools
Patterns work best when they sit where people build screens. Three practices help.
- Store strings in one place. Keep interface text in resource files or a content management system, not scattered through code. A change to a shared pattern then updates every screen that uses it.
- Build patterns into components. If the design system's dialog component already has slots for title, consequence and a confirm label, writers cannot skip the consequence by accident.
- Keep markup rules next to copy rules. Copy such as an error message only works for assistive technology when it is connected to its field. Put the connecting markup in the same pattern entry:
<label for="email">Email address</label>
<p id="email-hint">We'll send your receipt here.</p>
<input id="email" name="email" type="email" autocomplete="email"
aria-describedby="email-hint email-error" aria-invalid="true">
<p id="email-error">Enter an email address like [email protected].</p>The aria-describedby attribute lists the hint and error so a screen reader announces them with the field. A pattern that includes this markup gives developers the correct structure by default.
Governance: who owns the guide
A guide that nobody owns goes stale within a few months. Decide these points early:
- Owner. One person or a small group approves changes. Without an owner, the guide collects contradictions.
- Contribution path. Anyone can propose a change, for example through a request form or a pull request, and the owner reviews it.
- Change log. Record what changed, when, and why. This is where decisions from copy testing belong, as described in the earlier chapter on testing. A note such as "Changed 'Remove' to 'Delete' after users thought 'Remove' kept the file" prevents the change from being undone later.
- Review cycle. Check the guide on a schedule, such as every quarter, and when the product adds a major feature.
Common mistakes
- Writing too much. A 90-page guide goes unread. Start with the 20 situations that come up most and grow from there.
- Rules without examples. Writers interpret abstract rules in different ways.
- Copying another company's guide unchanged. Another product's voice and terms may not suit your users. Borrow structure and adapt content.
- No place to find it. If the guide is a file buried in a shared drive, people will not open it. Put it where designers and developers already work.
- Treating patterns as laws. A pattern is a default. When a situation does not fit, the writer should be able to deviate, and the guide should say how to propose an update when that happens.
- Letting the guide drift from the product. If shipped text and guide text disagree, people trust neither. Audit a sample of live screens against the guide regularly.
A short worked example
Suppose your audit finds these three buttons for the same action in different places: "Remove", "Delete" and "Trash it". Follow these steps:
- Pick one term. If users get a 30-day restore window, "Delete" with a clear body message is accurate and familiar.
- Add it to terminology: "Use Delete for removing a file. Do not use Remove or Trash."
- Add the destructive pattern with the confirm button "Delete {object type}".
- Log the decision with the date and the audit findings.
- Update the screens, then check a sample for compliance.
After this, the next writer who needs a delete flow has the answer without asking.
Exercise
Your team's error messages are inconsistent. One says "Invalid input", another says "Oops! Something went wrong", and a third says "Enter a date like 25/12/2026." Write a two-slot error pattern for field-level errors, list one rule with its reason for the style guide, and name one item you would add to the change log.
Show answer
A sample answer: Pattern: "{What to enter}, {with the expected format}." Example: "Enter a date like 25/12/2026." Rule: "Field errors tell users what to do, not what they did wrong. Reason: users recover faster when they see the fix, and the message avoids blame." Change log entry: "Replaced 'Invalid input' and 'Oops! Something went wrong' on form fields with the action-and-format pattern. Reason: the old messages gave no way to fix the problem." Any pattern that names the fix and the format, a rule that carries a reason, and a log entry that states what changed and why is correct.
Exercise
A colleague proposes one confirmation template with eight optional slots so it can cover every dialog in the product. Give two reasons to split it, and say what you would do instead.
Show answer
Reason 1: large flexible templates are filled in differently by each writer, so the output becomes inconsistent. Reason 2: optional slots make it easy to skip the consequence, which is the most important part of a destructive confirmation. Instead, create small patterns for each situation, such as "delete with restore", "delete permanently" and "leave without saving", each with the fixed title, consequence and action-named confirm button.