Renderer-neutral · #![forbid(unsafe_code)] · WASM

Docking layouts
for your editor.

Composable panes, tabs, splits, shared-track grids, floating groups, and motion. Dockspace owns layout and interaction state; your application owns pane content and chooses any UI framework to draw it.

v0.2.1 Published on crates.io.

One logical surfaceLayout illustration
Arrange the space. Keep the content yours.
01 / Layout

A place for every pane.

Compose bare panes, tabs, nested splits, and shared-track grids. Nest complete layouts inside named tabs, or float groups within the same surface.

02 / Ownership

Your content stays yours.

Keep documents, editor state, drawing, and deferred async close decisions in your application. The core owns deterministic docking state.

03 / Motion

Make changes easy to follow.

Interruptible spring and tween layout motion with fail-closed pointer routing and built-in reduced-motion support.

Choose your starting point

A small core.
A clear place to connect.

Start with official egui, or plug into any immediate or retained UI framework via dockspace::host — proven across egui, Open GPUI, winit, and ratatui.

Run the desktop workbench

Try it with your own hands.

The browser demo uses egui in one canvas. Run the desktop workbench for the same local docking model with winit and WGPU.

More examples and run commands
From the repository rootRust 1.95+
$ git clone https://github.com/Latias94/dockspace
$ cd dockspace
$ cargo run -p egui_dockspace \
    --example workbench --features wgpu --locked