# htr — Usage Documentation (cleanroom) `htr` is a very fast HTML to React (JSX) transformer. It converts raw HTML — for example HTML scraped from a page — into the equivalent React markup, including attribute and style conversions (`class` → `className`, `for` → `htmlFor`, `tabindex` → `tabIndex`, inline `style` strings → style objects). It is available in two forms: - **CLI**: the `htr` command for one-off transforms (see [cli.md](cli.md)). - **Rust library**: the `htr` crate for use inside Rust programs (see [library.md](library.md)).