egui-components 0.1.0

Component library for egui, ported from longbridge/gpui-component
Documentation
  • Coverage
  • 31.71%
    137 out of 432 items documented1 out of 323 items with examples
  • Size
  • Source code size: 220.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.78 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ufoscout

gpui-component-style component library for [egui] 0.34, ported from gpui-component.

All components are idiomatic egui widgets that return [egui::Response]. Most can be added with ui.add(Button::primary("OK")); a few that need to return extra info (e.g. [Tag::show]) provide a .show(ui) method.

Theming comes from [egui_components_theme::Theme]. Install it once at startup:

# let ctx = egui::Context::default();
egui_components_theme::Theme::dark().install(&ctx);

Components read the installed theme via [egui_components_theme::Theme::get].