React Dynamic Layout is a dock layout system inspired by Golden Layout, made with react.js
🏠 Homepage
- Easy way to create layouts
- Multiple levels of hierarchy
- Float windows
- Panel stack
- Multiple themes
- Resizable
npm install --save react-dynamic-layout
import React from 'react';
import ReactDOM from 'react-dom';
import { Layout, Container } from 'react-dynamic-layout';
import CenterName from '../components/CenterName';
const SimpleExample = () => (
<Layout type={Layout.COLUMN}>
<Container initialSize="30%">
<CenterName name="Top" />
</Container>
<Container>
<Layout type={Layout.ROW}>
<Container>
<CenterName name="Bottom Left" />
</Container>
<Container>
<CenterName name="Bottom Right" />
</Container>
</Layout>
</Container>
</Layout>
);
ReactDOM.render(<SimpleExample />, document.getElementById('root'));
NOTE: Look into example folder for more advanced usages
👤 Jose Albizures
- Twitter: @_albizures
- Github: @albizures
- Drag and Drop
- Layout serialization
- Open and close tabs
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Jose Albizures.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator