#egui #tile #dock #resize #layout

egui_tiles

A tiling layout engine for egui with drag-and-drop and resizing

17 releases (11 breaking)

0.12.0 Feb 5, 2025
0.11.0 Dec 17, 2024
0.10.1 Oct 1, 2024
0.9.0 Jul 3, 2024
0.2.0 Jul 6, 2023

#311 in GUI

Download history 2720/week @ 2024-12-24 5259/week @ 2024-12-31 12118/week @ 2025-01-07 9585/week @ 2025-01-14 7616/week @ 2025-01-21 6293/week @ 2025-01-28 8543/week @ 2025-02-04 7801/week @ 2025-02-11 9060/week @ 2025-02-18 8628/week @ 2025-02-25 15052/week @ 2025-03-04 18743/week @ 2025-03-11 13770/week @ 2025-03-18 14388/week @ 2025-03-25 15181/week @ 2025-04-01 15611/week @ 2025-04-08

62,589 downloads per month
Used in 44 crates (14 directly)

MIT/Apache

160KB
3K SLoC

egui_tiles

github Latest version Documentation unsafe forbidden Build Status MIT Apache

Layouting and docking for egui.

Supports:

  • Horizontal and vertical layouts
  • Grid layouts
  • Tabs
  • Drag-and-drop docking

egui_tiles

Trying it

cargo r --example simple

Comparison with egui_dock

egui_dock is an excellent crate serving similar needs. egui_tiles aims to become a more flexible and feature-rich alternative to egui_dock.

egui_dock only supports binary splits (left/right or top/bottom), while egui_tiles support full horizontal and vertical layouts, as well as grid layouts. egui_tiles also strives to be more customizable, enabling users to override the default style and behavior by implementing methods on a Behavior trait.

egui_dock supports some features that egui_tiles does not yet support, such as close-buttons on each tab, and built-in scroll areas.


egui_tiles development is sponsored by Rerun, a startup doing
visualizations for computer vision and robotics.

Dependencies

~5–11MB
~119K SLoC