| Crates.io | ui_layout |
| lib.rs | ui_layout |
| version | 0.8.0 |
| created_at | 2026-01-02 10:07:58.799761+00 |
| updated_at | 2026-01-25 11:48:05.301286+00 |
| description | A minimal Flexbox-inspired layout engine for Rust GUI |
| homepage | |
| repository | https://github.com/098orin/ui_layout-rs |
| max_upload_size | |
| id | 2018268 |
| size | 70,649 |
A minimal Flexbox-inspired layout engine for Rust GUI development.
This crate provides a small, predictable layout system designed for custom GUI frameworks, editors, and experimental UI engines.
[!NOTE] This crate is under active development; patch releases may be frequent.
flex_grow and flex_basisLengthrow_gap / column_gap)justify_content) and align items (align_items)use layout::*;
LayoutEngine::layout(&mut root, 800.0, 600.0);
For more examples and to understand the behavior of gaps, alignment, and sizing,
see the unit tests in the tests/ directory. They provide practical usage patterns and expected layouts.
See CHANGELOG.md for a detailed list of changes.
Future versions may add:
flex_shrinkgridMIT