Google Cloud Platform Icons
Adding an icon
There are two ways to add icons to your Mermaid Chart diagrams:
- Referencing the icon code in the Mermaid syntax.
- Using the visual editor's icon picker.
Icon code
To use a GCP icon in your Mermaid Chart diagram, you can reference it by
its code. The code for each icon is in the format
icon "gcp:icon_code", where icon_code is the
specific code for the GCP icon you want to use.
flowchart
n1["example"]
n1{ icon: "gcp:api"}
Visual editor
If you're using the visual editor, you can select the icon option from the toolbar. Click on the default icon to bring up the icon picker, where you can search for and select GCP icons.
Browse the icon set
Open the Mermaid Chart visual editor and use the icon picker's GCP tab to browse all supported GCP icons, or see the official GCP icon reference.