#egui #ui-layout #tile #dock #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

#365 in GUI

Download history 10432/week @ 2024-12-08 11442/week @ 2024-12-15 2639/week @ 2024-12-22 4482/week @ 2024-12-29 11127/week @ 2025-01-05 10758/week @ 2025-01-12 7570/week @ 2025-01-19 6561/week @ 2025-01-26 8022/week @ 2025-02-02 7868/week @ 2025-02-09 8516/week @ 2025-02-16 8461/week @ 2025-02-23 13650/week @ 2025-03-02 17733/week @ 2025-03-09 15075/week @ 2025-03-16 14696/week @ 2025-03-23

61,635 downloads per month
Used in 43 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–12MB
~121K SLoC