Workflow node
The atomic building block of the workflow canvas. Carries title, type chip, status, and typed input/output ports.
Included in the single kansho full pack. Components are not offered as separate installs.
Type matrix
Each node carries a type chip and IO portsPlan & dispatch
claude-opus-4-7 · plan and route missions
Selected vs default vs error
Plan & dispatch
Clickable
Click, or focus and press Enter, to select the nodePlan & dispatch
Keyboard navigation in a canvas
Tab into the nodes, then use arrow keys to move focus between them in document order and Enter to select. The focus ring and accessible name (label + status) come for free.Component documentation
Workflow Node
components/workflow/workflow-node.tsxPurpose
Renders a positioned or inline workflow node with ports, status, description, and selection.
Appropriate use
Use inside WorkflowCanvas or in a node palette when the host owns layout and selection.
Example
components/workflow/workflow-node.tsx has a representative live example in the "Keyboard navigation in a canvas" section on /components/workflow-node.
States
Port types are trigger, data, control, and error; nodes support optional position, width, status, ports, selection, and click interaction.
API and props
WorkflowNode accepts title, type, icon, description, status, inputs, outputs, selected, x, y, width, onClick, and className.
Dependencies
Direct imports are React, StatusPill, WorkflowCanvas navigation context, and cn.
Accessibility
Interactive nodes are named buttons with pressed state; Enter or Space selects, and registered canvas nodes support roving arrow-key navigation.
Limitations
It does not connect ports, validate workflow topology, drag, resize, or persist coordinates and selection.
Source
Source: components/workflow/workflow-node.tsx.
Full pack
components/workflow/workflow-node.tsx is documented at /components/workflow-node and installs only through the single Kansho full pack; no individual component install is offered.