Azure 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 an Azure icon in your Mermaid Chart diagram, you can reference it
by its code. The code for each icon is in the format
icon "azure:icon_code", where icon_code is the
specific code for the Azure icon you want to use.
flowchart
n1["example"]
n1{ icon: "azure:10001-icon-service-key-vaults"}
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 Azure icons.
Browse the icon set
Open the Mermaid Chart visual editor and use the icon picker's Azure tab to browse all supported Azure icons, or see the official Azure icon reference.