Content Patterns

Content Patterns

Reusable content templates for common UI scenarios: empty states, error messages, notifications, labels, and microcopy.

Empty States

Guide users when there's no content to display. Empty states should explain why it's empty and what to do next.

First-time / No data

User hasn't created anything yet

No projects yet

Create your first project to get started

Search / No results

Search or filter returned nothing

No results found

Try adjusting your search or filters

Deleted / Archived

Content was removed or archived

Inbox zero!

You've processed all your notifications

Error / Failed to load

Something went wrong

Unable to load

Check your connection and try again

Empty State Copy Templates

First-timeNo [items] yetNo projects yet
SearchNo results for "[query]"No results for "dashboard"
FilterNo [items] match your filtersNo tasks match your filters
SuccessAll [items] [completed action]All tasks completed
PermissionYou don't have access to [item]You don't have access to this project

Error Messages

Help users understand what went wrong and how to fix it. Never blame the user.

Good error messages
  • "Email address is already registered. Try signing in instead."
  • "File too large. Maximum size is 10MB."
  • "Unable to save. Check your connection and try again."
  • "Password must be at least 8 characters."
Bad error messages
  • "Error: Invalid input"
  • "Something went wrong"
  • "Error code: 0x800F081F"
  • "You entered an invalid password"

Error Message Structure

[What happened] + [Why it happened (optional)] + [How to fix it]

Unable to upload file

The file exceeds the 10MB limit. Try compressing it or upload a smaller file.

Common Error Copy Templates

Required field[Field name] is requiredEmail is required
Invalid formatEnter a valid [field type]Enter a valid email address
Too short[Field] must be at least [n] charactersPassword must be at least 8 characters
Too long[Field] can't exceed [n] charactersName can't exceed 50 characters
NetworkUnable to [action]. Check your connection.Unable to save. Check your connection.
ServerSomething went wrong. Try again later.Something went wrong. Try again later.
PermissionYou don't have permission to [action]You don't have permission to delete this

Success Messages

Confirm completed actions and guide users to their next step.

Inline success

Brief confirmation for quick actions

Changes saved

Toast notification

Non-blocking confirmation

Project created successfully

Success Copy Templates

Create[Item] createdProject created
SaveChanges savedChanges saved
Delete[Item] deletedTask deleted
Send[Item] sentInvitation sent
Upload[n] files uploaded3 files uploaded
Update[Item] updatedProfile updated

Confirmation Dialogs

Ask for confirmation before destructive or irreversible actions.

Delete confirmation

Destructive action warning

Delete project?

This will permanently delete "Marketing Website" and all its contents. This action cannot be undone.

Unsaved changes

Prevent accidental data loss

Unsaved changes

You have unsaved changes. Do you want to save them before leaving?

Confirmation Dialog Structure

ElementTemplateExample
Title[Action] [item]?Delete project?
Description[Consequence]. [Reversibility].This will... This cannot be undone.
Cancel buttonCancel / Keep [item]Cancel, Keep project
Confirm button[Action] [item]Delete project

Labels & Placeholders

Guide users through form inputs with clear labels and helpful placeholders.

Label Guidelines

Labels should be:
  • Short and descriptive (1-3 words)
  • In sentence case
  • Without colons at the end
  • Indicating required fields with *
Placeholders should:
  • Show format examples (e.g., "YYYY-MM-DD")
  • Not replace labels
  • Disappear on focus (so keep them short)
  • Use hints like "e.g.," or "such as"

Common Field Labels

NameFull name / First name / Last nameFull name
EmailEmail address / Work emailEmail address
PhonePhone number / Mobile numberPhone number
PasswordPassword / New password / Confirm passwordPassword
SearchSearch [items]...Search projects...
DescriptionDescription (optional)Description (optional)

Tooltips & Help Text

Provide additional context without cluttering the interface.

When to Use Each

TypeUse WhenExample
TooltipExplaining icon buttons or abbreviations"Edit profile" on icon button
Help textField requirements or formatting"Must be at least 8 characters"
Info iconComplex features needing explanation"API keys are encrypted at rest"
Inline hintSuggestions or examples"e.g., john@company.com"

Content Pattern Checklist

Empty States

  • Clear explanation of why it's empty
  • Action to fix or populate
  • Appropriate illustration or icon
  • Encouraging, not discouraging tone

Error Messages

  • What happened (specific)
  • How to fix it (actionable)
  • Never blame the user
  • Avoid technical jargon

Confirmations

  • Name the specific item affected
  • Explain consequences
  • State if irreversible
  • Action-specific button labels

Labels

  • Short and descriptive
  • Sentence case
  • Mark required with *
  • Use placeholders for format hints