Description
React-split-pane is a split-pane component for React that lets people divide a screen into resizable panes. The project describes it as modern, accessible and TypeScript-first. It is built on React hooks and includes full type definitions, keyboard navigation with ARIA attributes for screen readers, and support for touch on mobile and tablet. It can be used in controlled or uncontrolled mode, can nest layouts inside each other, and handles two or more panes. The README shows how to keep pane sizes in state and how to persist the layout with a separate persistence hook keyed to a name, so a user's arrangement survives a reload. That hook can store the layout in sessionStorage instead of localStorage and debounce the saves. A custom divider can replace the default one. The README also links to live examples. The component suits editors, dashboards, log viewers and developer tools where users want to resize regions of the interface. The project is hosted on GitHub under tomkp.…
Highlights
- Resizable panes for React, with hook-based state
- TypeScript types and keyboard and screen reader support
- Controlled or uncontrolled sizing, nested layouts and two or more panes
- Layout persistence with a hook that can use sessionStorage
Ratings & Reviews
No ratings yet
Be the first to rate react-split-pane.
People also visit
@gfazioli/mantine-split-pane
A Mantine 9 React component for resizable split pane layouts
react-split-pane FAQ
What does react-split-pane do?
It splits a React screen into resizable panes, with keyboard and touch support and full TypeScript types.
Can the layout be saved?
Yes. The README shows a persistence hook that stores pane sizes under a key, and you can choose sessionStorage or localStorage.
Can I use my own divider?
Yes. The README includes an example of a custom divider component.
Does it support more than two panes?
Yes. The README lists support for two or more panes and nested layouts.
Who is it for?
React developers building editors, dashboards or tools where users resize sections of the screen.
How do I install it?
The GitHub README has the install steps for the package.
Is it free?
The listing shows the library as free.
What are the best react-split-pane alternatives?
Popular alternatives to react-split-pane include @gfazioli/mantine-split-pane, allotment and splitpanes. See all react-split-pane alternatives
















