#[derive(Component)]
{
// Attributes available to this derive:
#[mx]
}
Expand description
Experimental opt-in derive for builder-centric Maud component authoring.
This derive is gated behind the components crate feature and is only a
partial surface right now. The current v1 slice is Bon-backed and supports
prop builders only; slot-specific ergonomics are still under construction.
Generated component code references ::maud_extensions::bon. The public
runtime crate re-exports Bon so downstream users only need maud-extensions.
Repeated slot support currently relies on Bon’s experimental overwritable
feature through that re-exported dependency.