1 unstable release

0.0.2 Jan 31, 2021
0.0.1 Dec 31, 2020

#9 in #bulma

MIT license

52KB
1.5K SLoC

yew-bulma

crate version

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.

Dependencies

~16MB
~299K SLoC