Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ranile/material-yew

Yew wrapper for Material Web Components
https://github.com/ranile/material-yew

material-components material-design rust wasm wrapper yew yew-material

Last synced: 8 days ago
JSON representation

Yew wrapper for Material Web Components

Awesome Lists containing this project

README

        

# Material Yew

*Material Yew* is a components library for [Yew framework](https://yew.rs/) which is a wrapper around [Material Web Components](https://github.com/material-components/material-web) exposing Yew components. All modern browsers are supported.

### Example

```rust
use material_yew::Button;
use yew::html;

html! {

};
```

## Getting started

### Installation

`Cargo.toml`:
```toml
[dependencies]
material-yew = "*"
```

Material icons and a Material font can also be imported for full functionality.
`index.html`:
```html

```

It's also important to note that you need `viewport` `meta` tag for the Material Components to be responsive.
```html

```

## Documentation

Full API documentation can be found [here](https://yew-material.web.app/docs/material_yew).

## Contributing

1. Fork it ()
2. Create your feature branch (`git checkout -b your-feature-branch`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin your-feature-branch`)
5. Create a new Pull Request