This project demonstrates how to create a layout with resizable panels using React and the react-resizable-panels
package. The layout consists of three different components arranged in a grid-like structure. Users can resize the components by dragging them from any side, and the neighboring components will expand or shrink accordingly.
-
Clone the repository:
git clone https://github.com/Preetiraj3697/Resizable-Panels.git
-
Navigate into the project directory:
cd Resizable-Panels
-
Install dependencies using npm:
npm install
-
Start the development server:
npm start
-
Open your browser and visit
http://localhost:3000
to see the application running.
- The layout consists of three resizable panels: the first row contains two panels, and the second row contains one panel.
- You can resize the panels by clicking and dragging the edges or corners of the panels.
- The neighboring panels will adjust their size accordingly to accommodate the resizing.
- React: A JavaScript library for building user interfaces.
- react-resizable-panels: A React component for resizable panels.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or create a pull request.
Feel free to customize the README with additional information specific to your project!