Pele
Render Mermaid diagrams to SVG with a tiny, dependency-free library
Visit websiteOverview
Diagrams-as-code usually comes with a catch: a heavyweight renderer, a pile of transitive dependencies, and charts that fall apart on a phone screen.
Pele renders Mermaid diagrams to SVG with no runtime dependencies at all. It covers every diagram type built into Mermaid 12.1.0, themes through ordinary CSS variables, and adjusts its layouts for small screens.
What it does
- Renders Mermaid diagrams as SVG
- Covers every diagram type in Mermaid 12.1.0
- Themes via CSS variables, so diagrams match your site's design
- Stays lightweight — no runtime dependencies, fast rendering
- Adapts layouts for small screens
How it runs
A small library you drop into a page or app; styling is yours, through the CSS variables it exposes.
Who it's for
Developers publishing documentation, notes or dashboards with Mermaid diagrams, who want them fast, themeable and readable on mobile — without adopting a framework to get there.