Use screenshots to show location or state
A screenshot is useful when readers need to recognize something they can see:- Where a setting lives in a crowded interface
- Which status confirms that a deployment worked
- What a correctly configured screen looks like
Use frames to give visuals context
<Frame> separates an image or video from the surrounding page and can add a caption:
Example of a framed image
alt="" for a purely decorative image. For an instructional image, describe the information, not every color, border, and menu visible on the screen.
Readers can click images to zoom in by default. Add noZoom to an image when zooming doesn’t help, like a small icon or a logo that links somewhere.
Use diagrams to explain relationships
When the hard part is understanding how several things connect, a diagram is usually more helpful than a screenshot. Request flows, system boundaries, state changes, and branching processes are good candidates. Mintlify renders Mermaid diagrams from a text definition, so you can review changes to the diagram alongside the rest of your content:Example of a Mermaid diagram
Plan for the next product update
Before publishing a visual, ask what will make it stale. Screenshots often contain button labels, navigation, account data, dates, and feature states that change independently of the instructions. Remove personal or internal information, and keep the source file for diagrams your team may need to update. During product reviews, check the visuals on every affected page, not only the prose around them. If your site supports light and dark mode, a screenshot taken in one mode can look out of place in the other. Take a screenshot in each mode and show the right one with thedark:hidden and hidden dark:block classes:
Example of light and dark mode screenshots