kozan 0.1.0

Kozan UI platform — re-exports and prelude for application authors
Documentation

kozan — the Kozan UI platform.

Single entry point for application authors. Re-exports everything needed to build a Kozan application — no internal crate knowledge required.

Quick start

use kozan::prelude::*;

fn main() -> kozan::Result<()> {
    App::new()
        .window(WindowConfig::default(), |ctx| {
            let doc = ctx.document();
            let div = doc.div();
            div.style().w(px(200.0)).bg(hex("#ff4444"));
            doc.body().child(div);
        })
        .run()
}

Feature flags

Flag What it enables Default
winit winit windowing backend yes
vello vello/wgpu GPU renderer yes