FlowHandle

A connection port on a node edge — where edges attach and interactive connect starts.

Category: display · WCAG 2.1-AA · flow, handle, port, connect

Variants

States

Props

PropTypeDefaultDescription
type'source' | 'target'Whether the handle is a connection source or target ('source' | 'target').
position'top' | 'right' | 'bottom' | 'left'Edge of the node (defaults: source→right, target→left).
idstringHandle id for multi-handle nodes.
isConnectablebooleantrueWhether new connections can start or end at this handle.
classNamestringAdditional CSS class names merged onto the root element.

Design tokens

When to use

When not to use

Examples

Source and target ports

() => (
  <div style={{ position: 'relative', height: 160 }}>
    <FlowNode id="api" defaultPosition={{ x: 70, y: 55 }}>
      API
      <FlowHandle type="target" position="left" />
      <FlowHandle type="source" position="right" />
    </FlowNode>
  </div>
)

Related components

← Back to docs