RepositoryRustGBUnited Kingdom
anhosh

anhosh/egui_dock

Docking support for egui – an immediate-mode GUI library for Rust

652stars
129forks
30issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: rust-crate

#1 Repository of the week

1
TINIX TRENDING·Topic: immediate-mode

#1 Repository of the week

2
TINIX TRENDING·Topic: tabs

#2 Repository of the week

egui_dock: docking system for egui

github crates.io docs.rs egui_version

Originally created by @lain-dono, this library provides a docking system for egui.

Contributing

Before contributing, please read the contribution guide and the AI usage policy.

This library is a collaborative project developed with direct involvement of its users.

Please feel free to open new issues and pull requests, and participate in discussions! A lot of our discussions take place on egui's official Discord server, in the #egui_dock channel.

Features

  • Opening and closing tabs.
  • Moving tabs between nodes and resizing.
  • Dragging tabs out into new egui windows.
  • Highly customizable look and feel.
  • High degree of control over behaviour of the whole dock area and of individual tabs.
  • Manipulating tabs and dock layout from code.

Quick start

Add egui and egui_dock to your project's dependencies.

[dependencies]
egui = "0.35"
egui_dock = "0.20"

Then proceed by setting up egui, following its quick start guide. Once that's done, you can start using egui_dock – more details on that can be found in the documentation.

Examples

The Git repository of this crate contains some example applications demonstrating how to achieve certain effects. You can find all of them in the examples folder.

You can run them with Cargo from the crate's root directory, for example: cargo run --example hello.

Demo

demo

Alternatives

egui_tiles

It's a library aiming to achieve similar goals in addition to being more flexible and customizable.

One feature it supports that egui_dock does not at the moment is the ability to divide nodes into more than two children, enabling horizontal, vertical, and grid layouts.

[!NOTE] egui_tiles is much earlier in development than egui_dock and doesn't yet support a lot of features.

Similar Projects

Discover other similar projects and AI models.

Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryRust
tauri-apps/tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

113.4k
Dec 1, 2026
RepositoryRust
emilk/egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

32.6k
Nov 29, 2026
RepositoryRust
crmne/spotifast

Spotify, native and fast. One lightweight Rust app for your whole library, local playback, and Spotify Connect on Linux, macOS, and Windows.

11.0k
Dec 1, 2026
RepositoryRust
poem-web/poem

A full-featured and easy-to-use web framework with the Rust programming language.

4.5k
Nov 20, 2026
RepositoryRust
pemistahl/lingua-rs

The most accurate natural language detection library for Rust, suitable for short text and mixed-language text

1.2k
Nov 25, 2026
RepositoryRust
al8n/stretto

Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.

437
May 3, 2026
RepositoryRust
romancitodev/cargo-pretty

A cargo build wrapper with a live, animated status view

309
Nov 6, 2026
RepositoryRust
ardaku/whoami

Rust library for getting information about the current user and environment.

267
Nov 6, 2026