Expand description
Create HTML with Rust, with support for htmx attributes and DaisyUI components.
§Quick start
use fhtmx::prelude::*;
let html = div()
.class("container")
.add(h1().add("Hello, world!"))
.add(p().add("Some text"))
.render();§Features
anyhow(default): Enablesanyhow::Errorconversion support.chrono_0_4: EnablesIntoNodeforchronotypes.jiff_0_2: EnablesIntoNodeforjifftypes.actix: Enables Actix-web response integration.axum: Enables Axum response integration.
Modules§
- prelude
- Re-exports the most commonly used types and traits.
Macros§
- children
- Build a list of nodes with mixed types.