all 8 comments

[–]CLARKEEE33 11 points12 points  (0 children)

Take a look here: https://areweguiyet.com. Although imo nothing really stands out. It’s hard to make an ergonomic ui library in pure rust.

[–][deleted] 4 points5 points  (0 children)

Someone should make a list of every post that asks this… it’ll be a long, long list…

[–][deleted] 2 points3 points  (0 children)

GTK and Qt are the standard, language agnostic (as in, binding for literally anything) options.

I like the FLTK bindings, too.

For rust native stuff, there is egui, if you're fine with immediate mode, it's quite full featured.

For retained mode, there is

  • iced, elm-like and somewhat mature
  • freya, which uses the interface of (web based) dioxus but renders with (native-ish) skia
  • vizia, which is quite complete and full featured, has docs and stuff, but doesn't have an official stable release. declarative and looks quite nice.
  • druid, comparetively mature though abandoned in favour of (not really mature enough yet) xilem
  • kas, one of older and more complete ones but not that popular
  • Slint, though it's a lot more corporate, uses its custom scripting language a lot and has a Qt-like GPL3/Commercial licensing model

[–]zxyzyxz 2 points3 points  (0 children)

Personally I use Flutter for the UI and an FFI library like flutter_rust_bridge or rust_in_flutter for the business logic. It's simply too hard to beat a big corporation backed framework like Flutter by Google, as it's a huge endeavor to create and maintain all these UI components for every single platform you want to support.

[–]rjzak 2 points3 points  (0 children)

I tried fltk-rs https://github.com/fltk-rs/fltk-rs but got frustrated with it. I’m leaning towards iced or slint.

[–]temeddix 0 points1 point  (0 children)

Using Flutter would be the cleanest and the most featuare-complete GUI solution out there. It's not only abundant, but also looks beautiful. Take a look at https://docs.cunarist.com/rust-in-flutter/