[MIRROR] Zero dependency Docking Layout Manager. Supports Vanilla TypeScript, React and Vue.
Go to file
2023-03-25 14:31:18 +00:00
.codesandbox bug: fix dnd events interaction with third-party libs 2023-03-22 21:32:09 +01:00
.github/workflows chore: fix sonar line coverage 2023-03-13 20:19:25 +03:00
.vscode chore: eslint setup 2021-10-04 20:22:05 +01:00
module-build chore: include es2019 lib 2022-03-17 19:14:36 +00:00
packages feat: validation 2023-03-25 14:31:18 +00:00
scripts chore: docs 2022-05-26 21:38:16 +01:00
.editorconfig chore: eslint setup 2021-10-04 20:22:05 +01:00
.eslintignore add eslint 2020-11-15 16:05:51 +00:00
.eslintrc.js chore: eslint setup 2021-10-04 20:22:05 +01:00
.gitignore chore: docs 2022-05-26 21:38:16 +01:00
.prettierignore code 2020-09-20 20:00:31 +01:00
.prettierrc code 2020-09-20 21:52:26 +01:00
jest.config.ts refactor: jest setup 2023-03-14 19:19:38 +03:00
lerna.json chore(release): publish v1.6.0 2023-02-26 20:40:25 +08:00
LICENSE Create LICENSE 2021-03-14 16:27:18 +00:00
package.json chore: sandbox examples 2023-03-19 21:43:24 +04:00
README.md chore: improve docs 2022-05-29 16:27:52 +01:00
sonar-project.properties chore: fix sonar line coverage 2023-03-13 20:19:25 +03:00
tsconfig.eslint.json chore: eslint setup 2021-10-04 20:22:05 +01:00
tsconfig.test.json code£ 2020-10-22 21:54:08 +01:00
vscode.code-workspace code 2020-09-24 23:01:48 +01:00
yarn.lock bug: fix dnd events interaction with third-party libs 2023-03-22 21:32:09 +01:00

dockview

Zero dependency layout manager supporting tabs, grids and splitviews with ReactJS support written in TypeScript


npm version CI Build Coverage Quality Gate Status Bundle Phobia

Please see the website: https://dockview.dev

Want to inspect the latest deployment? Go to https://unpkg.com/browse/dockview@latest/

Features

  • Simple splitviews, nested splitviews (i.e. gridviews) supporting full layout managment with dockable and tabular views
  • Extensive API support at the component level and view level
  • Themable and customizable
  • Serialization / deserialization support
  • Tabular docking and Drag and Drop support
  • Documentation and examples

This project was inspired by many popular IDE editors. Some parts of the core resizable panelling are inspired by code found in the VSCode codebase, splitview and gridview.

Quick start

Dockview has a peer dependency on react >= 16.8.0 and react-dom >= 16.8.0. You can install dockview from npm. Please see the Getting Started Guide.

npm install --save dockview

Within your project you must import or reference the stylesheet at dockview/dist/styles/dockview.css and attach a theme.

@import '~dockview/dist/styles/dockview.css';

You should also attach a dockview theme to an element containing your components. For example:

<body classname="dockview-theme-dark"></body>