UI elements in content

Use this guide when writing documentation that refers to buttons, fields, menus, dialogs, or other user interface (UI) elements. It explains how to format UI terms, write task-focused instructions, and refer to common UI patterns consistently and clearly.

Format UI element names

Use bold formatting for the visible names of UI elements:

  • Buttons
  • Dialogs
  • Windows
  • Tabs
  • Menu items
  • List items
  • Form labels
  • Section headings

For example:

Select Create, then fill out the Name field.

Do not bold product names or features unless they appear exactly as a label in the UI.

Capitalization

  • Follow the capitalization as it appears in the UI.
  • If UI labels are all uppercase or inconsistent, use sentence case in your docs for readability.

Write task-focused instructions

When possible, guide users based on what they’re trying to do, not just what they should select. This makes docs more goal-oriented and adaptable to UI changes.

Do thisAvoid this
Expand the Advanced options section.Select the zippy to expand the Advanced options section.
Choose a base image for your container.Select a dropdown and pick something.

Use correct prepositions with UI elements

Choose the right preposition based on the type of UI element you're referencing.

PrepositionUse with...Example
indialogs, fields, lists, menus, panes, windowsIn the Name field, enter your project name.
onpages, tabs, toolbarsOn the Settings tab, select General.

Use consistent UI element terms

Use these standard terms when referring to elements in Docker products:

Preferred TermUse When Referring To...
buttonA clickable action element (e.g., Start)
fieldA place to enter text or select a value
menu / menu itemA drop-down or navigation option
drop-downA drop-down menu item
context switcherSpecific to toggling on cloud mode
tabA selectable view within a window or page
dialogA popup window for confirmations or options
sectionA logical grouping of content on a page
list / list itemA scrollable list of selectable entries
toggleA binary control (on/off)
checkboxA multi-select control
tooltipText that appears on hover

Finally, instead of saying “click the control,” say “select the Create button.”