5 releases (3 breaking)

0.4.0 Apr 11, 2023
0.3.0 Apr 2, 2023
0.2.1 Mar 26, 2023
0.2.0 Mar 25, 2023
0.1.0 Mar 6, 2023

#574 in GUI

MIT/Apache

495KB
4K SLoC

Yew and Bulma

Crate Build status Docs Licenses codecov

Bulma CSS components for Yew

Documentation | Examples | Changelog

This crate provides Bulma CSS components made to be used with the Yew framework. It aims to make an easy, as intuitive as possible development experience for integrating Bulma into your Yew frontends.

Generally speaking, it aims to provide a Rust API for ideally* all elements, components, helpers etc. that you would be able to use in CSS/HTML or other frontend frameworks, such as Angular or React.

* It might not be possible to expose everything in the same manner as with JavaScript, but wherever it is, this crate will try and implement them.

Table of contents

  1. Features
  2. Usage
  3. Minimum supported Rust version
  4. Contributing
  5. License

Features

  • High-level APIs for creating Bulma components and using Bulma helpers with Yew
  • Ready to use utilities for custom component creation
  • Flexible components that can be combined together. Whatever is shown in the Bulma documentation can be achieved with this crate. *
  • This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

* It might not be possible to expose everything in the same manner as with JavaScript, but wherever it is, this crate will try and implement them.

Usage

Since it is in the early stages of development, no complete example is made yet.

Minimum Supported Rust Version (MSRV)

Current MSRV is 1.60.

Contributing

Since it is in the early stages of development, no contributing guidelines are present.

License

Yew and Bulma is licensed under the terms of the MIT License or the Apache License 2.0, at your choosing.

Dependencies

~11–14MB
~258K SLoC