{"schemaVersion":1,"id":"react-flow-svelte-flow","name":"React Flow / Svelte Flow","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/react-flow-svelte-flow/","officialUrl":"https://github.com/xyflow/xyflow","isCatalog":false,"description":"Interactive node-graph components for React and Svelte: provide a foundation for workflow editors, diagrams, and visual builders.","tasks":["Create a node-based workflow editor","Connect adding/joining nodes to application state and saving the graph"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems"],"tags":["React Flow / Svelte Flow","UI","Development"],"aliases":["xyflow/xyflow","xyflow","React Flow","Svelte Flow"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Create a node-based workflow editor","chooseWhen":["Create a node-based workflow editor","Connect adding/joining nodes to application state and saving the graph"],"considerInstead":[],"requirements":["Choose the package for your framework and connect its stylesheet; node identifiers must match edge references."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","React Flow and Svelte Flow are separate packages; React component code cannot be inserted into a Svelte project without adaptation."],"faq":[{"question":"What can you use for free in React Flow / Svelte Flow?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with React Flow / Svelte Flow?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for React Flow / Svelte Flow?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with React Flow / Svelte Flow?","answer":"Describe nodes, edges, and the data relationship model. Connect adding/joining nodes to application state and saving the graph. Configure styles and check empty, loading, and error states."},{"question":"Which xyflow package does a React project need, and which does Svelte need?","answer":"The README specifies @xyflow/react for current React Flow and @xyflow/svelte for Svelte Flow; the shared internal package is @xyflow/system. In the React example, node and edge changes are passed into application state through callbacks. Saving the graph is a possible use case for your logic, not an automatic database provided by the library."}],"related":[],"sources":["https://github.com/xyflow/xyflow","https://raw.githubusercontent.com/xyflow/xyflow/HEAD/README.md","https://raw.githubusercontent.com/xyflow/xyflow/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Create a node-based workflow editor.","inputs":["The component's design, states, and data.","A compatible framework and the project's styles."],"steps":["Describe nodes, edges, and the data relationship model.","Connect adding/joining nodes to application state and saving the graph.","Configure styles and check empty, loading, and error states."],"checks":["The keyboard, focus indicators, and a screen reader let users complete the action.","The component works on a narrow screen and with long data values."]},"sources":["https://github.com/xyflow/xyflow","https://raw.githubusercontent.com/xyflow/xyflow/HEAD/README.md","https://raw.githubusercontent.com/xyflow/xyflow/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/xyflow/xyflow","label":"Official source"},{"url":"https://raw.githubusercontent.com/xyflow/xyflow/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/xyflow/xyflow/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}