Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Flowchart

ProNew

Trigger, condition, and action workflow steps on a dotted canvas with animated test-run pulses and inline step insertion.

Installation

pnpm dlx shadcn@latest add @viewport/flowchart

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
nodes*FlowNode[]

Nodes in execution order, rendered top to bottom.

—
stepDurationnumber

Milliseconds each node stays active during a test run.

900
onAddStep() => void

Called when a new action step is appended.

—
classNamestring—

Accessibility

  • Rendered as an ordered list with a status region announcing the running step.
  • Each node exposes its pass/running state to screen readers.
  • Pulse animations shorten and skip motion under reduced motion.