makara 0.1.4

A Bevy UI simplifier that make it easy to build GUI app with bevy engine.
Documentation

Static Badge Static Badge static Badge

Getting start

fn on_button_click(click: On<Clicked>, mut text_q: TextQuery) {
   if let Some(text) = text_q.find_by_id("my-text") {
       text.text.value.0 = "Hello mars!".to_string();
   }
}

fn setup(mut commands: Commands) {
    commands.spawn((
       root().build(),
       children![
           text("Hello earth").id("my-text").build(),
           (
               button("Press me").build(),
               observe(on_button_click)
           )
       ]
   ));
}

Features

  • Built-in widgets including button, modal, text input and more.
  • Leverages Bevy’s massive parallelism for smooth and efficient rendering.
  • High level API and flexible.

Installation

cargo add makara

Run examples

cargo run --examples <example_name>

Documentation

Contributing

Makara needs your contributions. Please see contributing.

Versions

Currently, it supports only bevy 0.17.x onward.

License

Makara is released under the MIT License.

[!WARNING] Makara is new, many useful features are still missing.