Skip to Content
React Flow 13 is here! Read the announcement →
ReferenceTypes

BuiltInNode

Source on GitHub 

The BuiltInNode type represents all the built-in node types available in React Flow. You can use this type when you want to add your own custom nodes to a flow but still use the built-in types.

import { type BuiltInNode } from '@xyflow/react'; import { type CustomNode } from './CustomNode' export type Node = BuiltInNode | CustomNode;

The four built-in node types are:

  • input
  • output
  • default
  • group