Mermaid
The Mermaid icon represents Mermaid, a markdown-based diagramming tool used for creating diagrams, flowcharts, and other graphical representations.
Exports at 17 × 24 px
Code
Mermaid in your framework
In any framework. Customize it above, and the code follows.
export const MermaidIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 367 512" {...props}>
<path fill="currentColor" d="M366.345 400.155c-27.789 12.2-25.511 40.695-57.078 80.032c-30.022 37.411-81.633 42.497-130.71 11.691c-14.993-9.411-52.653-20.005-70.666-54.183c-17.262-32.755-28.29-108.973-16.858-151.58c5.559-20.72 22.675-38.222 44.34-49.103c20.776-10.435 36.718-16.973 14.087-54.27c0 0-18.177 9.7-20.942 19.204c-3.875 13.32-50.47 46.958-54.122 52.437c-11.362 17.043-27.291 22.186-35.328 26.561c-1.297-7.041 17.789-16.862 9.45-18.9s-31.74 10.355-33.725 5.003c-.702-1.891 12.212-5.831 14.083-9.266c-8.339-2.038-13.342-6.115-13.342-6.115s36.32-3.335 50.959-1.111c6.676-9.818 15.01-28.908 33.355-46.327c0 0-22.862 2.552-26.445 4.386c-3.584 1.833-3.834 14.333-6.084 15s6.667-21.417-24.726-13.754c0 0-11.584 11.852-12.433 32.726c0 0-5.832-5.969-9.087-14.706c-1.713-4.598-10.622 3.255-14.22.685c8.518-5.728 10.438-15.248 9.251-26.555c-7.668 1.573-12.656-.55-16.104-4.797c15.202 1.797 27.886-20.156 39.404-53.11l-15.076 8.738c6.853-39.918 37.005-32.723 57.564-66.302c-6.566-2.276-12.138-.89-16.961 3.255c9.251-19.36 28.083 3.614 44.48-48.115c3.695-10.854 10.841-15.913 20.42-24.748c7.38-6.809 12.982-12.909 25.879-16.389c9.732-2.625 48.14 3.914 61.414 27.705c11.543 20.69 5.773 66.971-12.009 80.827c0 0-2.887 4.965 2.31 9.122c5.195 4.157 14.895 14.895 25.98 43.3c4.85 14.896 31.638 14.318 59.004 37.874c.44-8.683 5.383-16.063 10.122-22.807c5.955-8.476 12.254-15.307 16.395-15.213c16.058 10.48-9.313 30.976-9.313 30.976c2.32 1.205 6.214 1.25 11.004.633c-5.122 11.363-21.511 18.65-27.734 18.609c-14.935-.101-51.05-13.815-74.116-25.996c-5.863 5.865-11.624 21.184-18.646 36.66c-6.928 32.1 32.494 76.388-43.416 133.712c-9.786 7.39-16.656 39.408-16.252 56.579c.697 29.565 15.82 50.308 42.261 65.355c46.738-15.49 19.179-106.165 145.807-127.794c-25.89 25.643-29.72 47.502-43.733 76.064c30.07-6.087 18.56-19.088 81.557-25.993"/>
</svg>
);Other libraries
Mermaid in 2 more libraries
Each library draws it its own way. Open one to compare.
File Icons
More like it
Icons that share its tags, in the same style.
Search File Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any File Icons icon from a prompt.
Get ProTags
Browse by tag
Mermaid is tagged software, tool, visualization and 2 more. Related tags follow; each opens its icons from every library.
Pricing
File Icons MCP, with Pro
Ask for Mermaid or any of 930 File Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Mermaid icon means and where it's used, then how to install, style, label and license it.
The Mermaid icon represents Mermaid, a markdown-based diagramming tool used for creating diagrams, flowcharts, and other graphical representations. Mermaid allows users to create diagrams using a simple, human-readable syntax. It is widely used in software development, documentation, and education for creating visual aids.
Mermaid is used in various real-world applications, including software development, documentation, and education. For example, Mermaid is used by developers to create diagrams and flowcharts for software projects, as well as by educators to create visual aids for teaching. Many users rely on Mermaid for its simplicity, flexibility, and ease of use.
From a UX perspective, the Mermaid icon communicates a sense of diagramming, visualization, and graphical representation. It helps users understand that the software or tool is related to creating diagrams, flowcharts, or other visual aids. The icon's design and color scheme evoke a sense of simplicity, creativity, and approachability, making it easily recognizable among developers, educators, and students.
Mermaid is one of 930 icons in File Icons, made by John Gardner and released under ISC. It is drawn on a 367 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds MermaidIcon to components/icons/file-icons-mermaid.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed MermaidIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Mermaid icon, or any of 930 File Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 367 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Mermaid", so screen readers say what it does.
Yes. MermaidIcon passes every SVG prop to the svg element, so <MermaidIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. ISC allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: ISC only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming File Icons, John Gardner and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
2 other libraries draw an icon called Mermaid. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are software, tool, visualization, diagram and representation. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Mermaid in another set.
4.9 out of 5 from 150+ developers
Install Mermaid from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro