The splittable, draggable, collapsible panel layout library
React-collapse-pane is a React library that provides a simple and elegant solution for adding splittable, draggable, and collapsible panes to your React application. It aims to be reliable and configurable, allowing you to easily create layouts with collapsible panels.
Since the upgrade to MUI v5, react-collapse-pane requires a peer dependency style engine. You can choose between styled components and emotion. Follow the appropriate configuration guide based on your choice:
Please note that this dependency will be removed in future versions to reduce the size of the library.
React-collapse-pane is a reliable and configurable React library that allows you to easily create splittable, draggable, and collapsible panes in your React application. It provides customizable styling options, support for both vertical and horizontal splits, and the ability to exclude specific children from the split. The library also supports RTL (right-to-left) layouts and is compatible with MUI v5. With its simplicity and elegance, react-collapse-pane is a great choice for achieving flexible and customizable layouts in your React projects.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
Styled Components is a popular library for styling React components using CSS syntax. It allows you to write CSS in your JavaScript code, making it easier to create dynamic styles that are specific to each component.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.