stucco
Server-rendered, themeable UI components for Rust. This is the facade crate: start here for layouts, typography, buttons, forms, tables, and application shells. The 0.2 API is experimental.
use *;
let bundle = new;
let html = new
.main
.render;
assert!;
Enable axum to serve pages from axum handlers: Router::stucco serves the
Bundle's assets, and handlers return a Document built from the PageCx
extractor. Without it, write the assets to a static directory.
Enable collections for typed columns and native GET collection controls;
enable icons for the Lucide catalog. Use default-features = false to select
individual families. Reserved feature names for overlays, marketing, diagrams,
Markdown, Askama, and Maud are not implemented yet.
Minimum Rust: 1.85. Storage is a separate crate. See the repository README for installation, features, runnable examples, and the release status.
Licensed under MIT or Apache-2.0. The optional Lucide catalog uses ISC.