brisk-egui

Crates.iobrisk-egui
lib.rsbrisk-egui
version0.7.0
created_at2024-12-18 10:05:43.54133+00
updated_at2026-01-04 10:40:43.343537+00
descriptionUse of the brisk declarative engine with egui.
homepagehttps://cyloncore.com
repositoryhttps://gitlab.com/cyloncore/brisk
max_upload_size
id1487363
size6,197
Cyrille Berger (cyrilleberger)

documentation

README

stable pipeline dev/1 pipeline docs crates.io

brisk-egui

brisk-egui provides integration with egui.

Example

The following creates a function hello_world_panel(ctx: &egui::Context, title: &str) that can be used with egui to build a user interface.

brisk_it! {
    PanelComponent
    {
        name: hello_world_panel,
        parameters: params!(title: &str),
        CentralPanel
        {
            Heading
            {
                text: title,
            },
        }
    }
}

More examples are available in the examples folder.

Commit count: 67

cargo fmt