# Pele

> Renders Mermaid diagram text to SVG themed with CSS variables; synchronous, no dependencies, much smaller than mermaid.js.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/pele

free

Renders Mermaid diagram text to SVG themed with CSS variables; synchronous, no dependencies, much smaller than mermaid.js.

by Obsidian (kepano)[GitHub](https://github.com/obsidianmd/pele)[npm](https://npmjs.com/package/pele)

[visit](https://pele.run/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://pele.run](https://pele.run/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [Canvas UI](https://tastebase.ehsanulsiam.workers.dev/browse/canvas-ui)

WebGL and WebGPU effects (liquid, glass, frost, glitch, particles) drawn over live, still-interactive HTML.

no preview

### [mapcn](https://tastebase.ehsanulsiam.workers.dev/browse/mapcn)

Copy-in React map components on MapLibre GL, themed with shadcn tokens: markers, popups, routes, arcs, clusters.

no preview

### [ASCII Magic Art](https://tastebase.ehsanulsiam.workers.dev/browse/ascii-magic-art)

734 ready-made animated ASCII scenes (landscapes, loaders, charts, mascots) as one web component or ES modules.

no preview

### [Piixpal](https://tastebase.ehsanulsiam.workers.dev/browse/piixpal)

Pixel creatures that live on a page: they crawl on headings, perch on buttons and bounce on footers.

## Looks that pick it

[Developer docsfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/developer-docs)[Blueprintfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/blueprint)[Academic paper](https://tastebase.ehsanulsiam.workers.dev/looks/academic)

## For your agent

##### Install

`npm i pele`

##### Use it for

- Mermaid code blocks in docs, a blog or chat answers that match the site's light and dark theme
- flowchart, sequence, state, ER, gantt and C4 diagrams written as text
- rendering diagrams to static SVG on the server or at build time (render() is synchronous)
- replacing mermaid.js where its bundle size or async rendering is the problem

##### Skip it when

- dashboards charting numbers: use recharts or echarts
- a custom interactive visual with your own marks and animation: use visx

##### What's inside33 free

- Flowchart
- Sequence
- Class
- State
- ER
- Gantt
- Pie
- Mindmap
- Timeline
- Journey
- Git Graph
- C4
- Quadrant Chart
- Requirement
- Sankey
- XY Chart
- Block
- Packet
- Kanban
- Architecture
- Radar
- Treemap
- Venn
- Ishikawa
- Wardley
- Railroad
- Swimlane
- Event Modeling
- Cynefin
- Agent Flow
- Use Case
- Tree View
- Playground

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
css

**Weight**
medium

**Accessibility**
ok

**Maturity**
stable

**License**
MIT

**Price**
Free

```
import { mount } from 'pele'

const view = mount(document.getElementById('diagram')!, `flowchart LR
  A[Request] --> B{Cached?}
  B -->|yes| C[Return]
  B -->|no| D[Fetch] --> C`)

// later: view.update(newText); on teardown: view.destroy()
```

https://pele.run/playground

Loading website

[Visit](https://pele.run/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
