|
2 | 2 | title: 'CSS' |
3 | 3 | --- |
4 | 4 |
|
5 | | -A proposal for integrated CSS support can be found here: |
6 | | -[https://github.com/yewstack/yew/issues/533](https://github.com/yewstack/yew/issues/533) |
| 5 | +Yew does not ship built-in CSS support, but the community maintains several styling |
| 6 | +solutions. Below are actively maintained projects you can use today. |
7 | 7 |
|
8 | | -This contains a lot of discussion about how to best integrate CSS support into Yew. |
| 8 | +#### Styling Solutions |
| 9 | + |
| 10 | +- [stylist](https://github.com/futursolo/stylist-rs) - A CSS-in-Rust styling solution. |
| 11 | +- [tailwind-css](https://github.com/thedodd/trunk/tree/master/examples/yew-tailwindcss) - Tailwind Utility Classes. |
| 12 | + |
| 13 | +:::important contribute |
| 14 | +If you're developing a project adding styles to Yew please submit a PR adding yourself to this list! |
| 15 | +::: |
9 | 16 |
|
10 | | -Currently, the approach we have adopted is to encourage developers to build many systems, before |
11 | | -adopting the most popular one. |
| 17 | +--- |
12 | 18 |
|
13 | | -The community is currently developing several projects to make it easy to add styles to |
14 | | -projects. A few are given below: |
| 19 | +#### Inactive Projects |
15 | 20 |
|
16 | | -#### Component Libraries |
| 21 | +The projects below are no longer actively maintained but may still serve as useful |
| 22 | +references for learning or as starting points for new efforts. If you're interested |
| 23 | +in reviving or continuing any of them, contributions are welcome! |
17 | 24 |
|
18 | 25 | - [yew_styles](https://github.com/spielrs/yew_styles) - A styling framework for Yew without any JavaScript dependencies. |
19 | 26 | - [yew-mdc](https://github.com/Follpvosten/yew-mdc) - Material Design Components. |
20 | 27 | - [muicss-yew](https://github.com/AlephAlpha/muicss-yew) - MUI CSS Components. |
21 | 28 | - [Yewtify](https://github.com/yewstack/yewtify) – Implements the features provided by the Vuetify framework in Yew. |
22 | | - |
23 | | -#### Styling Solutions |
24 | | - |
25 | | -- [stylist](https://github.com/futursolo/stylist-rs) - A CSS-in-Rust styling solution for WebAssembly Applications. |
26 | | -- [tailwind-css](https://github.com/thedodd/trunk/tree/master/examples/yew-tailwindcss) - Tailwind Utility Classes. |
27 | | - |
28 | | -:::important contribute |
29 | | -If you're developing a project adding styles to Yew please submit a PR adding yourself to this list! |
30 | | -::: |
0 commit comments