dockview-angular
v5.2.0
Published
Angular docking layout manager — tabs, groups, grids, splitviews, drag and drop, floating panels
Maintainers
Readme

Please see the website: https://dockview.dev
Features
- Serialization / deserialization with full layout management
- Support for split-views, grid-views and 'dockable' views
- Themeable and customizable
- Tab and Group docking / Drag n' Drop
- Popout Windows
- Floating Groups
- Extensive API
- Supports Shadow DOMs
- High test coverage
- Documentation website with live examples
- Transparent builds and Code Analysis
- Security at mind - verified publishing and builds through GitHub Actions
Quick Start
Dockview-angular has a peer dependency on @angular/core >= 21. Install from npm:
npm install dockview-angularImport the stylesheet in your styles.css or angular.json:
@import 'dockview-angular/dist/dockview.css';Use the component in your Angular template:
import { Component } from '@angular/core';
import { DockviewModule } from 'dockview-angular';
import { DockviewReadyEvent } from 'dockview-core';
@Component({
selector: 'app-root',
standalone: true,
imports: [DockviewModule],
template: `
<div class="dockview-theme-dark" style="height: 400px">
<dockview-angular
[components]="components"
(ready)="onReady($event)"
></dockview-angular>
</div>
`,
})
export class AppComponent {
components = {
myComponent: /* your panel component */,
};
onReady(event: DockviewReadyEvent) {
event.api.addPanel({
id: 'panel_1',
component: 'myComponent',
});
}
}See the documentation for full examples.
Want to verify our builds? Go here.
