#tile #egui #dock #layout #resize

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

#286 in GUI

Download history 7486/week @ 2025-01-20 6533/week @ 2025-01-27 8222/week @ 2025-02-03 7920/week @ 2025-02-10 8825/week @ 2025-02-17 8401/week @ 2025-02-24 13513/week @ 2025-03-03 18530/week @ 2025-03-10 14528/week @ 2025-03-17 14969/week @ 2025-03-24 14188/week @ 2025-03-31 16256/week @ 2025-04-07 15548/week @ 2025-04-14 13335/week @ 2025-04-21 11408/week @ 2025-04-28 11618/week @ 2025-05-05

52,368 downloads per month
Used in 45 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
~117K SLoC