This crate provides simple Yew components that render Bulma-compatible DOM nodes. For example:
html! {
<Button
label="Save"
disabled=!can_save
css_class="is-primary"
action=edit_form.link.callback(|e: web_sys::MouseEvent| {e.prevent_default(); Message::Save})
processing=edit_form.is_saving
/>
}
The goals of this crate are:
- Provide easy accessors for common Bulma components, including Rust-native implementations of logic.
- Support for fluent-based localization.
- Markdown rendering support.
This project is very early in development and is really only being added as needed for projects for Khonsu Labs.