Wire React Components

A typed diagram schema, a layout engine, and a small set of React components that render the same WireDiagram as an interactive canvas, a static SVG, or a Mermaid string.

Get startedInstall & setupAdd the package, point Tailwind at the source, render your first canvas.ConceptsHow Wire thinksDiagram JSON, the action reducer, decoupled events, typed options, render contracts.CustomizeMake it yoursReplace node cards, list rows, and group frames without touching canvas internals.
Custom node renderers
Three example surfaces from the same context object.
Listen to clicks
Five event types, two built-in emitters, one onEvent.
Layouts
Router, vertical, and horizontal flows from the same nodes.
Click → modal
Surface params in a dialog using onEvent + WireOptionPanel.