isosphere / yew-bootstrap

Bootstrap 5 Components for the Yew Framework
https://crates.io/crates/yew-bootstrap
MIT License
37 stars 18 forks source link
bootstrap rust wasm yew

yew-bootstrap

yew-bootstrap is a collection of frontend components made to simplify the usage of Bootstrap 5 within the Yew framework.

Crate info API Docs

This project uses semantic versioning.

Features Implemented

Check the readme for the yew-bootstrap package, or the docs.rs link above.

basics-example.webm

Contributing

Bug reports, feature requests, and pull requests are welcome!

Please try to match your code style to the existing codebase. If you think a change in that style is warranted, feel free to make a suggestion in a new Issue.

Much of this codebase uses struct components. For new contributions please use functional components unless you have good reason to use struct components. It is the recommended default from Yew[^1], and we should be consistent. [^1]: > function components - the recommended way to write components when starting with Yew and when writing simple presentation logic.

Please be sure to try cargo test before submitting a PR.

All new features should have examples in their documentation via doc strings as well as an example application under /examples/.