Skip to main content
Version: 0.21

CSS

A proposal for integrated CSS support can be found here: https://github.com/yewstack/yew/issues/533

This contains a lot of discussion about how to best integrate CSS support into Yew.

Currently, the approach we have adopted is to encourage developers to build many systems, before adopting the most popular one.

The community is currently developing several projects to make it easy to add styles to projects. A few are given below:

Component Libraries

  • yew_styles - A styling framework for Yew without any JavaScript dependencies.
  • yew-mdc - Material Design Components.
  • muicss-yew - MUI CSS Components.
  • Yewtify – Implements the features provided by the Vuetify framework in Yew.

Styling Solutions

  • stylist - A CSS-in-Rust styling solution for WebAssembly Applications.
  • tailwind-css - Tailwind Utility Classes.
contribute

If you're developing a project adding styles to Yew please submit a PR adding yourself to this list!