Images help a reader see a tool, a process, or an architecture. This page covers three: screenshots, diagrams, and reference diagrams. Because images cost more to maintain than text, use them intentionally.
A screenshot is a picture of a software tool, in this case usually the Cloudflare dashboard. We only recommend screenshots in specific scenarios, as they have a higher maintenance cost than other types of content.
Use screenshots sparingly and intentionally. For example, it is appropriate to use a screenshot when the task is simple but often confuses readers or is hard to describe with words alone.
A canonical example is Find account and zone ID because:
- It is a high driver of SEO traffic to our Community ↗.
- We tried explaining with words alone and that did not solve the confusion.
- It is a task specifically related to new users, who are less familiar with Cloudflare concepts or navigation patterns.
Screenshots should:
- Maintain the original aspect-lock ratio.
- Keep resolution at 72dpi.
- Keep width at 500-600 pixels.
- Avoid sharing sensitive information (you may need to edit the underlying HTML in your browser).
- Avoid including visuals that change frequently, such as sidebar navigation.
- Have descriptive alt text.
Add screenshots to the corresponding $PRODUCT_NAME folder under /src/assets/images/ ↗. You may want to add subfolders for organizational purposes.
We avoid screenshots without a clear purpose because they are difficult to maintain. This is because:
- The UI might change and our team might not know.
- Even if you do know what changed, it is difficult to find which screenshots reference a particular UI flow.
- If something changes, you need to fully re-take the screenshot to replace it. This could involve adding fake data or hiding sensitive information.
For more details on how we approach this maintenance, refer to Image maintenance.
Diagrams are visualizations that depict a process, architecture, or some other form of technology. They explain complex topics in a compelling way and help a reader visualize a specific solution, process, or interaction between products. Diagrams are used in all content types. We recommend either SVG files or Mermaid diagrams.
Use SVG files instead of PNG or JPEG because SVG scales well when a reader zooms in. Use clear and straightforward alt text with your SVG for use by screen readers. We optimize SVG files with a recurring script ↗ in our repo.
Format an SVG like this:
For example:

Use Mermaid diagrams to illustrate product or process flows. If they work for your use case, Mermaid diagrams are preferable to SVG files because they are more easily searchable and changeable. Our Mermaid diagrams are based on rehype-mermaid ↗ and mermaid ↗.
Format a Mermaid diagram like this:
```mermaid
flowchart LR
accTitle: Tunnels diagram
accDescr: The example in this diagram has three tunnel routes. Tunnels 1 and 2 have top priority and Tunnel 3 is secondary.
subgraph Cloudflare
direction LR
B[Cloudflare <br/> data center]
C[Cloudflare <br/> data center]
D[Cloudflare <br/> data center]
end
A((User)) --> Cloudflare --- E[Anycast IP]
E[Anycast IP] --> F[/Tunnel 1 / <br/> priority 1/] --> I{{Customer <br/> data center/ <br/> network 1}}
E[Anycast IP] --> G[/Tunnel 2 / <br/> priority 1/] --> J{{Customer <br/> data center/ <br/> network 2}}
E[Anycast IP] --> H[/Tunnel 3 / <br/> priority 2/] --> K{{Customer <br/> data center/ <br/> network 3}}
```For example, this renders as:
flowchart LR
accTitle: Tunnels diagram
accDescr: The example in this diagram has three tunnel routes. Tunnels 1 and 2 have top priority and Tunnel 3 is secondary.
subgraph Cloudflare
direction LR
B[Cloudflare <br/> data center]
C[Cloudflare <br/> data center]
D[Cloudflare <br/> data center]
end
A((User)) --> Cloudflare --- E[Anycast IP]
E[Anycast IP] --> F[/Tunnel 1 / <br/> priority 1/] --> I{{Customer <br/> data center/ <br/> network 1}}
E[Anycast IP] --> G[/Tunnel 2 / <br/> priority 1/] --> J{{Customer <br/> data center/ <br/> network 2}}
E[Anycast IP] --> H[/Tunnel 3 / <br/> priority 2/] --> K{{Customer <br/> data center/ <br/> network 3}}
A single diagram that portrays all or part of Cloudflare's platform and how Cloudflare would align with a customer's infrastructure or use case.
Used in: Reference architecture, Reference architecture diagram
Show a complete Cloudflare architecture aligned with a specific infrastructure or use case. Whenever possible, the image should be an SVG.
For example:
Note: Labels in this image may reflect a previous product name.