Punctuation
In a UI, the goal is to minimize distractions and guide users through clear actions and messages. The UI must be concise, functional, and often minimal in its use of punctuation.
Avoid using periods to end single sentences, particularly in labels, label description text, tooltip text, bulleted lists, dialog body text, hyperlinked text, titles, and buttons containing a sentence.
Use periods on long or complex sentences, paragraphs with multiple sentences, and any sentence followed by a link.
| Do ✅ | Don't ❌ |
|---|---|
|
|
For a more objective message, avoid using commas.
| Do ✅ | Don't ❌ |
|---|---|
|
|
Use periods on multiple sentences; long or complex sentences, if it suits the context; or any sentence followed by a link.
| Do ✅ | Don't ❌ |
|---|---|
|
|
Don't use exclamation or interrogation marks.
| Do ✅ | Don't ❌ |
|---|---|
|
|
Add a space before and after dashes to ensure readability and consistency in the text.
| Do ✅ | Don't ❌ |
|---|---|
|
|
Don't add space before and after slashes.
| Do ✅ | Don't ❌ |
|---|---|
|
|
Colons
Capitalize the first letter after a colon.
| Do ✅ | Don't ❌ |
|---|---|
| Autocomplete: Provides search and product suggestions based on the shopper's context. | Autocomplete: provides search and product suggestions based on the shopper's context. |
User interfaces
Use interrogation marks and personal pronouns only when confirming actions that are hard to undo or can't be undone.
| Do ✅ | Don't ❌ |
|---|---|
| Are you sure you want to discard all changes? |
|