viewbuilder 0.1.0

Cross-platform UI framework
docs.rs failed to build viewbuilder-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: viewbuilder-0.10.0-alpha.5

Viewbuilder

Examples

Cross-platform user interface framework for Rust.

This crate provides an HTML-like render API for the backend of a UI. It's built for use as a backend for concoct, but you can bring your own state management tools or build your own framework using this as a backend.

Features

  • Cross-platform with desktop and mobile support
  • HTML-like API
  • CSS flexbox and grid layout with taffy
  • Accessibility with accesskit
  • High performance rendering with rust-skia
use viewbuilder::Tree;

fn main() {
    let mut tree = Tree::default();
    let text = tree.insert("Hello World!");

    viewbuilder::run(tree, text)
}