• Stars
    star
    1,975
  • Rank 23,460 (Top 0.5 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 2 years ago
  • Updated 27 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

High performance HTML and CSS renderer powered by WGPU

Blitz: A wgpu renderer for Dioxus

Blitz is a native renderer for Dioxus that uses WGPU (via Vello) to draw the Dioxus VirtualDom to the screen.

Blitz Core can be used without Dioxus as a regular CSS + HTML renderer. We try to maintain an API similar to the browser's DOM API for general compatibility.

Because the default Dioxus elements rely on HTML, so does Blitz, meaning Blitz can be used as a partial replacement for the web rendering engine in modern browsers.

CSS is handled via lightningcss and layout is handled with Taffy.

Status

Blitz is in a very much WIP state right now. Lots of stuff works but even more doesn't.

  • Many CSS properties aren't supported
  • Many types of events aren't handled
  • No support for images/videos or multimedia

That being said....

Please contribute! There's a lot of solid foundations here:

  • Taffy is underpinning layout
  • Vello is underpinning drawing
  • Dioxus is underpinning state management