DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
App Shell35
Auth20
Card43
Dashboard8
Dialog14
Empty State14
Event Calendar6
Flow4
  • Automation Builder
  • AI Agent Builder
  • Pipeline Run Monitor
  • Growth Impact Map
Form12
Gantt4
Kanban Board10
List11
Navbar13
Onboarding9
Profile10
Rich Text Editor5
Schedule10
Settings16
Sheet24
Stats2 meter cards moved here from Charts, 17 in all17
Timeline9
Whiteboard2
Wizard7

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.

When to use

  • An editable node canvas for automation workflows or AI agent steps, with a side inspector per step
  • A run view for a scheduled data pipeline: task states, retries and a human approval gate
  • A driver map that ties initiatives to the input metrics and north star they are meant to move

When not to use

  • An overview page of KPI tiles, charts and work lists with no editable node graph: use the Dashboard blocks
  • A first run setup sequence that walks a new user through screens one at a time: use the Onboarding blocks
  • Operating live AI agent runs: tool permissions, approvals and evaluation reports: use the Agents blocks

Agent notes

  • Graph edits stay in local useNodesState and useEdgesState; no block persists nodes or edges, so wire your own load and save
  • Each block fills h-svh under its own header bar; swap it for a parent owned height when you mount it inside an app shell
  • Requires @xyflow/react; flow-canvas.tsx imports its stylesheet and FLOW_THEME maps its colors onto your theme tokens

Third-party API docs

  • React Flow v12: API reference, docs, llms.txt, used by 4 of 4 blocks
  • Sonner v2: API reference, docs, used by 4 of 4 blocks
  • Dagre v3: API reference, docs, used by 2 of 4 blocks
Markdownhttps://web.dev.reui.io/blocks/application/flow.md
MCPsearch({ query: "flow", type: "block", category: "flow" })
Full index for agents:llms.txtReUI MCP setup

Shadcn React Flow Blocks: Workflow Builders, Agent Trees and Run Canvases

A node canvas is the rare UI where the library is the easy part. React Flow gives you nodes, edges, panning and zoom in an afternoon. What it does not give you is a node that looks like your product, an edge a user can re-point without breaking the graph, a right click menu that knows which steps are safe to delete, or an answer to what happens when someone drags a step into a cycle.

These 4 blocks are that second half. Each one is a working canvas with its own node types, its own inspector, and its own rules about what a user may change: a lead routing workflow, a collections agent tree, a nightly pipeline run replayed in dependency order, and a growth map tying initiatives to a north star metric.

They ship as source. The graph is a typed local array, so the canvas you install is the canvas you keep, wired to your own data instead of a provider you cannot see into.

All Flow Blocks

Open any block on its own page for a live preview, the components it is built from, and the install command.

  • Automation Builder Automation workflow canvas with step cards showing owner, duration and last run status
  • AI Agent Builder AI agent flow tree with auto layout, named branch paths and add step buttons on every connector
  • Pipeline Run Monitor Data pipeline run canvas with dependency-ordered replay and a human approval gate
  • Growth Impact Map Growth impact map linking initiatives to a north star metric, with correlation scored metric links

Nodes That Look Like Your Product

A default React Flow node is a rounded box with a label. Every block here replaces it with a real card.

Steps are built from shadcn Item with a ReUI IconTile carrying the glyph, so a node reads like the rest of your app rather than like a diagram. The workflow canvas puts the owner avatar, the duration and a status Badge in a footer strip. The agent tree carries the app it calls, Stripe, Neon, Claude, ClickUp, Resend or Slack, and a run strip of dot separated facts like 1,842 tokens, USD 0.031 or 42ms.

The growth map goes further and builds its cards from ReUI Frame, because an initiative card and a metric card need the same shell with different contents: percent done and a Progress bar on one, a role label with the current period's value and its delta on the other.

Edges are nodes' equals here. A condition fork is labelled Yes and No, a branch in the agent tree carries its path name, and a metric link carries the correlation coefficient recorded for it. Attachments hang off a separate bottom port on dotted edges, so a connection or a model reads differently from a step that runs.

Auto Layout, and When Not to Use It

2 of the 4 canvases lay themselves out with dagre. The other 2 deliberately do not, and the split is the useful part.

The agent tree runs dagre top to bottom and exposes it as a Tidy tree button, which also re-arms layout after a manual drag. The growth map runs it left to right, which is the reading order for a driver tree ending at a north star.

The workflow and the pipeline run keep hand authored positions, because both describe something a human arranged on purpose: a routing diagram someone drew, and a DAG whose shape is the documentation. Auto layout would relocate a canvas its owner already understands.

Where layout is automatic the blocks still keep a snap to grid toggle, a reset layout action and edge reconnection, so a user can override the algorithm rather than fight it.

The Rules a Canvas Needs

Most node editor demos let you delete anything and connect anything. A real one cannot.

The pipeline run replays in dependency order using a topological sort over its edges, with a cycle fallback, so a task starts only once everything upstream has passed and anything left unready is rewritten as blocked upstream. Its approval gate cannot be deleted at all, and approving it releases every downstream task and runs them, with an 8 second undo.

The growth map checks a relink for duplicates and cycles before accepting it, and promoting a new north star demotes the old one rather than leaving two. The agent tree checks branch names for uniqueness and auto numbers a collision, surfacing the problem as inline field validation instead of a toast you can miss.

The workflow canvas carries a real undo and redo stack, capped at 50 entries, that coalesces a drag into one entry instead of 60. It also warns, in a ReUI Alert inside the inspector, when a step exists that nothing routes to.

Editing Without Leaving the Canvas

Every block puts its editing affordances in 3 places, because people reach for different ones.

A selected node shows a toolbar. A right click opens a ContextMenu with the same actions, so add step after, view, edit, duplicate and delete are one gesture from anywhere. The agent tree adds a fourth: an add step button that cross fades in on the connector itself when you hover or keyboard focus it, so a step lands exactly where the flow forks.

Details open in an inspector panel with view and edit modes, and tabs where a node has more than one concern, Settings beside Wiring on the pipeline run and Settings beside Links on the growth map. The panel is an overlay above 1024px and a Sheet below it, so the canvas keeps its width on a laptop and the inspector takes the screen on a phone.

Destructive actions confirm, and the reversible ones do not bother: a delete opens a dialog, while a north star promotion or an approval simply toasts with an undo attached.

All Shadcn Block Groups

Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.

  • Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
  • Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
  • Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
  • Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
  • Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
  • Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
  • Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.

Frequently Asked Questions

Do I need a React Flow licence to use these?

No. The blocks are built on the open source React Flow package, @xyflow/react, which is MIT licensed, and the 2 blocks with auto layout add @dagrejs/dagre, also MIT. React Flow Pro is a separate subscription for their own add-ons and examples; nothing here depends on it.

Which block should I start from?

Start from the one whose rules match yours, not the one that looks closest. For a builder where users author a graph, start with the lead routing workflow, which has the undo stack and the unreachable step warning. For an LLM pipeline, start with the collections agent tree, which has auto layout, named branches and a test run. For monitoring something that already ran, start with the nightly pipeline, which replays in dependency order and gates on a human approval. For tying work to outcomes, start with the growth map.

Is the graph wired to a backend?

No, and that is the point. Nodes, edges, run results and test fixtures are typed local arrays you replace with your own data. The canvases are UI, so the same workflow builder can front a database in one app and a YAML file in another. Copy as JSON is included to make the shape you need to persist obvious.

Do the run states and test results actually change, or are they static?

The interactions are real and the outcomes are seeded. A pipeline replay genuinely walks the dependency order and blocks what is not ready, a retry genuinely re-runs one task and settles what it was blocking, and the agent tree's test run genuinely walks the live tree and marks untaken branches. What each step returns comes from a fixture, so the preview runs with no backend. Swap the fixture for your API and the mechanics stay.

Do they work on a phone?

Yes, with the inspector as the main concession: above 1024px it sits as a panel over the canvas edge, and below that it becomes a full Sheet. The canvas keeps pan, zoom and selection at every width, and actions that need a right click on desktop stay reachable from the node toolbar.

How do I install a flow block?

Through the shadcn CLI on a project that already has shadcn/ui. Each block page carries its own command, and the CLI pulls the node types, the inspector, the edges and every shadcn part the block depends on, then installs @xyflow/react alongside them.

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. Application
  3. Flow
Markdown

Shadcn React Flow Blocks for Workflow and Agent Builders

4 node canvases on React Flow: a lead routing workflow, a collections agent tree, a pipeline run with an approval gate, and a growth map with a north star.