Ribir: Non-intrusive GUI framework for Rust/WASM
4 comments
·November 7, 2025rubymamis
pshirshov
Generally, many forms of inheritance do not compose, but I'm not sure that makes these primitives composable.
the__alchemist
How does this compare to EGUI, GPUI, and Slint?
I like the idea of using macros to clean syntax; am writing some for EGUI right now to make colored text easier.
mwcampbell
This may not be what you're after, but note that egui and Slint have accessibility support (at differing levels of completeness), e.g. for blind people using screen readers, while Ribir and GPUI do not.
> Unlike common object-oriented GUI frameworks, Ribir widgets do not need to inherit a base class or hold a base object. It is a pure composition model
I'm really not sure how this "composition" is any different to the usual inheritance you see in frameworks like QML *in practice*.
This in Ribir:
```
Column {
}```
Would be this in QML:
```
ColumnLayout {
}```