@window-splitter/react
A full featured window splitter for React.
npm install @window-splitter/react yarn add @window-splitter/react pnpm add @window-splitter/react
import { PanelGroup, Panel, PanelResizer } from "@window-splitter/react"; function Example() { return ( <PanelGroup> <Panel min="130px" max="400px" /> <PanelResizer /> <Panel min="130px" /> </PanelGroup> ); }
While not required for the simple case, for anything more complex you will
need to add an id
prop to your panels and handles.
This is so that the component can tell all of the components apart during layout and rendering._createMdxContent
Features that require id
: