dfui 0.2.0

Declarative UI framework that draws shapes, text and icons analytically in one wgpu shader
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use dfui::Element;
use dfui::widgets::{Styled, button, text, tooltip};

fn view() -> Element {
    tooltip(button(text("Hover me")), "Saves the team")
        .padding(48.0)
        .into()
}

fn main() {
    dfui::run(view);
}