A full featured window splitter for React.
- Support for the full window splitter ARIA spec
- Support for percentage and pixel based constraints
- Collapsible panels
- Controlled panels
- Layout Persistance - LocalStorage and Cookie
Read the full docs View the storybook
npm install react-window-splitter
yarn add react-window-splitter
pnpm add react-window-splitter
import { PanelGroup, Panel, PanelResizer } from "react-window-splitter";
function Example() {
return (
<PanelGroup>
<Panel min="130px" max="400px" />
<PanelResizer />
<Panel min="130px" />
</PanelGroup>
);
}
Thanks goes to these wonderful people (emoji key):
Andrew Lisowski 💻 📖 💡 |
Eva1ent 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!