screenshot of Xyflow


React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https://svelteflow.dev). Ready out-of-the-box and infinitely customizable.


The xyflow repository is a collection of powerful open source libraries for building node-based UIs with React or Svelte. These libraries are ready out-of-the-box and infinitely customizable. The repository consists of four packages: React Flow v11, React Flow v12 (not published yet), Svelte Flow, and a shared helper library called @xyflow/system. The team behind xyflow maintains and develops these libraries and relies on user support to keep them under an MIT License.


  • Ready out-of-the-box
  • Infinitely customizable
  • Supports building node-based UIs with React or Svelte
  • Includes React Flow v11 and React Flow v12 packages
  • Offers Svelte Flow package
  • Provides a shared helper library called @xyflow/system


To install the xyflow libraries, follow these steps:

  1. Use the package manager npm to download the libraries:
npm install reactflow
npm install @xyflow/svelte
npm install @xyflow/system
  1. Once installed, you can import and use the libraries as needed in your projects. For example, to use React Flow:
import ReactFlow from 'reactflow';

Similarly, for Svelte Flow:

import SvelteFlow from '@xyflow/svelte';
  1. Make sure to also install React Flow Pro separately if you are using React Flow for commercial projects:
npm install @xyflow/react


The xyflow repository offers powerful open source libraries for building node-based UIs with React or Svelte. These libraries are highly customizable and come ready out-of-the-box. The repository includes React Flow v11 and React Flow v12 packages, as well as the Svelte Flow package. Users can also utilize the shared helper library called @xyflow/system. The libraries are maintained by the xyflow team and are licensed under the MIT License, with commercial usage options available for additional support. Installation is straightforward using npm package manager and the libraries can be easily imported and used in projects.


React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components


Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.


ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.


RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.


TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.