Dockview wrapper for Angular (unofficial).
Dockview is a zero dependency Docking Layout Manager for the web, written in TypeScript.
THIS IS STILL IN DEVELOPMENT AS OF NOW (2025-07) AND NOT READY FOR PRODUCTION USE.
# npm
npm install ngx-dockview dockview-core
# yarn
yarn add ngx-dockview dockview-core
# pnpm
pnpm add ngx-dockview dockview-coreimport { DockviewComponent, DockviewPanelDirective, DockviewPanelTemplateDirective } from 'ngx-dockview';
@Component({
selector: 'app-root',
template: `
<dv-dockview style="height: 100%; width: 100%; display: block;"
(ready)="onReady($event)">
<!-- declarative approach -->
<ng-template [dvPanelTemplate]="'one'" let-params>
<h1>One</h1>
</ng-template>
<dv-panel id="one" [view]="'one'" [title]="'One'">
</dv-panel>
</dv-dockview>
`,
imports: [DockviewComponent, DockviewPanelTemplateDirective, DockviewPanelDirective]
})
export class AppComponent {
onReady(event: DockviewReadyEvent) {
// use event.api for imperative approach
}
}For more elaborate example showing more features of the library, please see the demo.
This project is licensed under the MIT License - see the LICENSE file for details.