10 releases
Uses new Rust 2024
| new 0.2.3 | Jan 27, 2026 |
|---|---|
| 0.2.2 | Jan 23, 2026 |
| 0.1.5 | Jan 15, 2026 |
#395 in Game dev
1MB
10K
SLoC
Contains (WOFF font, 60KB) source-code-pro-v11-all-charsets-500-2bdd9410.woff2, (WOFF font, 45KB) open-sans-v17-all-charsets-300-7736aa35.woff2, (WOFF font, 41KB) open-sans-v17-all-charsets-300italic-2c7b95c0.woff2, (WOFF font, 45KB) open-sans-v17-all-charsets-600-486c6759.woff2, (WOFF font, 43KB) open-sans-v17-all-charsets-600italic-1a3e8659.woff2, (WOFF font, 45KB) open-sans-v17-all-charsets-700-c22fe8c7.woff2 and 5 more.
GUI Library built on top of Bevy Game Engine.
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_!(
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.
- 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.
Dependencies
~62–90MB
~1.5M SLoC