makara 0.2.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) {
   text_q.get_by_id("my-text", |t| t.set_text("Hello mars"));
}

fn setup(mut commands: Commands) {    
    commands.spawn(
        root_!(
            align_items: AlignItems::Center,
            justify_content: JustifyContent::Center;
            
            [
                text_!("Hello earth", id: "my-text"),
                button_!("Click me"; on: on_button_click)
            ]
        )
    );
}

Features

  • Built-in widgets including button, modal, text input and more.
  • Routing systems.
  • Custom styling with ID & Classes similar to HTML/CSS.
  • Built in styling via class.
  • 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.

Bevy Makara
0.18.x 0.2.x
0.17.x 0.1.x

License

Makara is released under the MIT License.

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