40 releases

new 0.4.0-rc.1 Mar 23, 2023
0.4.0-alpha.2 Feb 24, 2023
0.3.0 Dec 16, 2022
0.2.2 Aug 22, 2022
0.0.8 Nov 3, 2020

#221 in WebAssembly

Download history 42/week @ 2022-11-30 17/week @ 2022-12-07 93/week @ 2022-12-14 16/week @ 2022-12-21 14/week @ 2022-12-28 18/week @ 2023-01-04 25/week @ 2023-01-11 16/week @ 2023-01-18 52/week @ 2023-01-25 23/week @ 2023-02-01 59/week @ 2023-02-08 111/week @ 2023-02-15 109/week @ 2023-02-22 48/week @ 2023-03-01 18/week @ 2023-03-08 8/week @ 2023-03-15

188 downloads per month

Apache-2.0

485KB
13K SLoC

Rust 10K SLoC // 0.0% comments JavaScript 3K SLoC // 0.0% comments Handlebars 29 SLoC

PatternFly components for Yew

crates.io docs.rs

Yew components, based on Patternfly:

PatternFly is an open source design system built to drive consistency and unify teams.

Yew is a modern Rust framework for creating multi-threaded front-end web apps with WebAssembly.

Screenshot of an example


Example project

Take a look at:


lib.rs:

PatternFly components implemented for Yew.

Goals

This crate offers Yew components of PatternFly. The goal is to closely map functionality as it exists in the ReactJS version, but take into account that Rust can sometimes do better. If that is the case, and leads to a safer, more developer-friendly solution, it might be worth doing things differently.

The focus is currently on PatternFly v4.

Help

The rustdoc documentation should give you some detail information of the Rust code base. It will not explain the components in detail, but offer links to the original PatternFly documentation when possible. Those links are pointers to more information, for a better understanding, but don't mean that they document PatternFly Yew in any way.

Some components may offer an example section in their main component documentation. But for more complex examples, see the PatternFly Yew Quickstart project.

Dependencies

~12–19MB
~334K SLoC