Description
react-split-pane is a React component for splitting a layout into resizable panes. You can split vertically or horizontally, nest splits inside each other, and drag the divider to resize the panes. The README describes it as a forked version of tomkp/react-split-pane that supports React 19 and has dropped some other features, so check the props you rely on. The primary prop decides which pane keeps its size when the browser window changes, and the size prop sets a fixed pane size that overrides defaultSize and minSize. The allowResize prop turns dragging off, and maxSize caps how far the fixed pane can grow, with a value of 0 stopping the divider at the edge of a container. The container must use relative or absolute positioning. Install it with npm, then wrap the panes in a SplitPane element. The source is public on GitHub, and the README gives example usage for nested and horizontal layouts.…
Highlights
- Vertical and horizontal split panes
- Nested splits
- Fixed pane size with the size prop
- Resizing can be turned off
- Supports React 19 in this fork
Ratings & Reviews
No ratings yet
Be the first to rate @rexxars/react-split-pane.
People also visit
@gfazioli/mantine-split-pane
A Mantine 9 React component for resizable split pane layouts
@rexxars/react-split-pane FAQ
What is react-split-pane?
A React component that splits a layout into resizable panes, vertically or horizontally, and can be nested.
Does it work with React 19?
Yes. The README says this fork supports React 19.
How do I keep one pane a fixed width?
Set the size prop on that pane and set primary to second. The README example keeps the right pane at 200px while the window resizes.
Can I stop users from resizing?
Yes. Pass allowResize as false.
Is it free?
The source is public on GitHub, so the project is open source.
What are the best @rexxars/react-split-pane alternatives?
Popular alternatives to @rexxars/react-split-pane include react-split-pane, allotment and @gfazioli/mantine-split-pane. See all @rexxars/react-split-pane alternatives


















