18 releases

Uses new Rust 2024

0.2.4 Oct 22, 2025
0.2.3 Oct 21, 2025
0.1.4 Sep 2, 2025
0.1.3 Aug 29, 2025
0.1.0-alpha.1 Apr 1, 2025

#1241 in GUI

Download history 773/week @ 2025-10-22 625/week @ 2025-10-29 434/week @ 2025-11-05 353/week @ 2025-11-12 341/week @ 2025-11-19 254/week @ 2025-11-26 415/week @ 2025-12-03 408/week @ 2025-12-10 299/week @ 2025-12-17 434/week @ 2025-12-24 201/week @ 2025-12-31 1250/week @ 2026-01-07 1730/week @ 2026-01-14 2343/week @ 2026-01-21 641/week @ 2026-01-28 919/week @ 2026-02-04

5,892 downloads per month
Used in 14 crates (11 directly)

MIT/Apache

485KB
10K SLoC

The core DOM abstraction in Blitz

This crate implements a flexible headless DOM (BaseDocument), which is designed to emebedded in and "driven" by external code. Most users will want to use a wrapper:

It includes: A DOM tree respresentation, CSS parsing and resolution, layout and event handling. Additional functionality is available in separate crates, including html parsing (blitz-html), networking (blitz-net), rendering (blitz-paint) and windowing (blitz-shell).

Most of the functionality in this crates is provided through the struct.

blitz-dom has a native Rust API that is designed for higher-level abstractions to be built on top (although it can also be used directly).

The goal behind this crate is that any implementor can interact with the DOM and render it out using any renderer they want.

Dependencies

~31–62MB
~886K SLoC