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
Error Messages
Help users understand what went wrong and how to fix it. Never blame the user.
- "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."
- "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
Success Messages
Confirm completed actions and guide users to their next step.
Inline success
Brief confirmation for quick actions
Toast notification
Non-blocking confirmation
Success Copy Templates
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
| Element | Template | Example |
|---|---|---|
| Title | [Action] [item]? | Delete project? |
| Description | [Consequence]. [Reversibility]. | This will... This cannot be undone. |
| Cancel button | Cancel / 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
Tooltips & Help Text
Provide additional context without cluttering the interface.
When to Use Each
| Type | Use When | Example |
|---|---|---|
| Tooltip | Explaining icon buttons or abbreviations | "Edit profile" on icon button |
| Help text | Field requirements or formatting | "Must be at least 8 characters" |
| Info icon | Complex features needing explanation | "API keys are encrypted at rest" |
| Inline hint | Suggestions 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