React Flow
freepaidNode-based editors and interactive diagrams: draggable nodes, connectable edges, minimap, zoom and pan.

Try these
shadcn/ui
Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.
Lucide
Clean 24px stroke icons, one component per icon, the default set for shadcn/ui.
BlockNote
Notion-style block editor for React with slash menu, drag handles and collaboration built in, on Tiptap.
ElevenLabs UI
shadcn registry for voice and audio agents: orb, waveform, live mic visualiser, audio player, transcript viewer.
For your agent
Install
npm i @xyflow/reactFree + paid. Starter $169/mo, Professional $289/mo: React Flow Pro: Pro examples and templates (workflow editor), prioritised issues, support; the library stays MIT
Use it for
- a flowchart or node-based workflow editor with connecting nodes and edges (automation builders, AI pipelines)
- an interactive diagram, org chart or mind map people can drag, connect and zoom
- drag nodes on a canvas and connect them with edges (node graph editor)
Skip it when
- a static chart of numbers: use recharts or echarts
- a 3D scene or node material editor: use r3f
- rich text, markdown or notes editing: use tiptap or blocknote
- a read-only diagram from text: render Mermaid instead of hand-placing nodes
What's inside8 free
- Nodes
- Edges
- Handles
- MiniMap
- Controls
- Background
- Node Toolbar
- Node Resizer
Facts
- Frameworks
- react, svelte
- Styling
- css
- Weight
- medium
- Accessibility
- ok
- Maturity
- established
- License
- MIT
- Price
- Free core, Starter $169/mo, Professional $289/mo for more
import { ReactFlow, Background, Controls, useNodesState, useEdgesState, addEdge } from '@xyflow/react'
import '@xyflow/react/dist/style.css'
const [nodes, , onNodesChange] = useNodesState(initialNodes)
const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges)
<div style={{ height: 480 }}>
<ReactFlow nodes={nodes} edges={edges} onNodesChange={onNodesChange} onEdgesChange={onEdgesChange} onConnect={(p) => setEdges((e) => addEdge(p, e))} fitView>
<Background /><Controls />
</ReactFlow>
</div>https://reactflow.dev/examples
Loading website