Skip to Content

Dark Mode

React Flow comes with a built-in light & dark mode. You can set the colorMode prop that allows you to switch between 'dark', 'light' and 'system'.

import { createRoot } from 'react-dom/client'; import App from './App'; const container = document.querySelector('#app'); const root = createRoot(container); root.render(<App />);
Last updated on