Skip to main content

Crate maud_ui

Crate maud_ui 

Source
Expand description

maud-ui — Headless accessible component library for maud + htmx.

Components return maud::Markup and follow Base UI / WAI-ARIA patterns. Ships with a shadcn-inspired dark theme in css/maud-ui.css that consumers can override via CSS custom properties.

Modules§

primitives
Primitive components. Each is its own module — import as maud_ui::primitives::button.
showcase
Live component gallery. Serves showcase_page() as the showcase axum example. Each component also has its own route via component_page_by_name(). Components are grouped into tiers: Form Controls, Display, Layout, Overlay, Navigation, and Composite.
tokens
Design tokens for maud-ui. These constants mirror the CSS custom properties in css/maud-ui.css — consumers can reference either side.