This is a Rust's Design System based on Material 3 spec
Status
working on, (not ready usable) see project website at https://material-rs.gitlab.io/material_you_rs
-
🚧 Core api (in progess)
- typographies
- icons
- 🚧 buttons
- 🚧 common buttons
- fab button
- extended fab
- icon buttons
- segmented buttons
- checkbox
- chips
- dialog
- divider
- elevation
- list
- radio button
- select
- tabs
- text field
-
🚧 Adapters
- 🚧 yew (in parallel progress with core-api)
- seed
- percy
- scymore
- dioxus
Development
Prerequisites
-
rust install rust
-
add wasm32 target
- install wasm tools, wasm-pack and wasm-bingend-cli, and cargo-watch (for live reload)
- some http server for example
python http.server
Run
- clone the repo
- build and serve website
now you can see example site on your browser
Development whatching file's changes
- for development and live reload
- and in another termninal serve site
Goals
- provide material's design spec in a rust's api for use in rustwasm based environments
- provide a zero js design system for rust
currently we working on yew's api, but in the future we hope can provide an api for all rustwasm frameworks
Roadmap
- basic token mappings of material design
- ❌ theme provider
- 🚧 components and core api (only basics components)
- 🚧 apadters
- implement theme generator
- design server
- complex and advance components for core api
- update apadters
Usage
warning this section is outdated, usage and examples needs be updated.
- add dependency to your
Cargo.toml
- import library and add the theme provider
use ;
use MaterialProvider;
- now you can use components
use ;
use ;
Contribution guide
working on... (we have not defined the development cycle)
Support
I am an independent computer developer and researcher. My work is progressing slowly because I live on the edge. I have been looking for a job for several years to be able to live and continue with my work but it is easier said than done.
If you believe in my code and want to support my work you can give me a job or support me trough patreon.