Images and diagrams
Last updated Aug 20, 2026 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.
Screenshots
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.
When to use
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.
Note
Use screenshots liberally in Changelog entries, because this content type is an accepted point-in-time reference and it is okay for these screenshots to be outdated.
Guidelines
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.
Usage

Add screenshots to the corresponding $PRODUCT_NAME folder under /src/assets/images/ ↗︎. You may want to add subfolders for organizational purposes.
Maintenance
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
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.
SVG 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:

An example flow diagram

Mermaid diagrams
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}}
Reference diagram
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:

A fully deployed SASE solution with Cloudflare
Note: Labels in this image may reflect a previous product name.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/style-guide/documentation-content-strategy/component-attributes/images-and-diagrams/#page","headline":"Images and diagrams","description":"Use screenshots, diagrams, and reference diagrams effectively in documentation.","url":"https://developers.cloudflare.com/style-guide/documentation-content-strategy/component-attributes/images-and-diagrams/","inLanguage":"en","image":"https://developers.cloudflare.com/style-guide/documentation-content-strategy/component-attributes/images-and-diagrams/og.png?v=92149e6906e0660a","dateModified":"2026-08-20","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: "Write the introductory parts of a page: context, introduction, and intended audience." title: Introductions image: https://developers.cloudflare.com/style-guide/documentation-content-strategy/component-attributes/introductions/og.png?v=cd1810cefa6b1aec
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/style-guide/llms.txt
Use this file to discover all available pages before exploring further.
