All Projects → hamza1311 → material-yew

hamza1311 / material-yew

Licence: Apache-2.0 license
Yew wrapper for Material Web Components

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to material-yew

Tdl
Node.js bindings to TDLib.
Stars: ✭ 177 (+52.59%)
Mutual labels:  wrapper, wasm
fullstack-rust
Reference implementation of a full-stack Rust application
Stars: ✭ 39 (-66.38%)
Mutual labels:  wasm, yew
rocket-yew-starter-pack
Example boilerplate for websites in pure Rust
Stars: ✭ 77 (-33.62%)
Mutual labels:  wasm, yew
ybc
A Yew component library based on the Bulma CSS framework.
Stars: ✭ 131 (+12.93%)
Mutual labels:  wasm, yew
facade
Facade Framework - autogenerated embedded live dashboards for Rust apps
Stars: ✭ 95 (-18.1%)
Mutual labels:  wasm, yew
wasi-worker
WASM / WASI interface for browser service workers
Stars: ✭ 31 (-73.28%)
Mutual labels:  wasm, yew
rust-electron-demo
rust electron demo using yew
Stars: ✭ 15 (-87.07%)
Mutual labels:  wasm, yew
Blazormaterial
Blazor components implementing Google's Material components for web - https://material.io/components/web
Stars: ✭ 136 (+17.24%)
Mutual labels:  wasm, material-components
bounce
The uncomplicated Yew State management library
Stars: ✭ 43 (-62.93%)
Mutual labels:  wasm, yew
discord.bat
🗑️ the BEST discord lib
Stars: ✭ 38 (-67.24%)
Mutual labels:  wrapper
web logger
Rust Logger for Web Browsers
Stars: ✭ 19 (-83.62%)
Mutual labels:  wasm
rust-wasm-loader
Webpack loader for Rust
Stars: ✭ 81 (-30.17%)
Mutual labels:  wasm
vue-cli-plugin-material
[UNMAINTAINED] Vue CLI 3 plugin for MDC Web and Vue MDC Adapter with Sass support
Stars: ✭ 15 (-87.07%)
Mutual labels:  material-components
python-sms-activate-ru
Wrapper for automatic SMS receiving by sms-activate.ru
Stars: ✭ 35 (-69.83%)
Mutual labels:  wrapper
atomix
Simple and easy wrappers for Go sync/atomic package.
Stars: ✭ 26 (-77.59%)
Mutual labels:  wrapper
rust-monaco
Rust WASM bindings for the Monaco Editor
Stars: ✭ 23 (-80.17%)
Mutual labels:  wasm
A-song-of-ice-and-fire-API
Javascript wrapper for the A song of ice and fire API
Stars: ✭ 15 (-87.07%)
Mutual labels:  wrapper
WebAssembly-in-Action
Source code for the book "WebAssembly in Action" (https://www.manning.com/books/webassembly-in-action)
Stars: ✭ 44 (-62.07%)
Mutual labels:  wasm
pbwrap
Pastebin API wrapper for Python
Stars: ✭ 19 (-83.62%)
Mutual labels:  wrapper
tune
Make xenharmonic music and create synthesizer tuning files for microtonal scales.
Stars: ✭ 73 (-37.07%)
Mutual labels:  wasm

Material Yew

Material Yew is a components library for Yew framework which is a wrapper around Material Web Components exposing Yew components. All modern browsers are supported. There is no support for polyfills required by Internet Explorer 11.

Example

use material_yew::MatButton;
use yew::html;

html! {
    <MatButton label="Click me!" />
};

Getting started

Installation

Cargo.toml:

[dependencies]
material-yew = "0.1"

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

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet">

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

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Feature flags

Following are all the cargo features available (each feature corresponds to its respective component):

  • button
  • circular-progress
  • checkbox
  • circular-progress-four-color
  • drawer
  • top-app-bar
  • icon-button
  • fab
  • formfield
  • linear-progress
  • icon
  • radio
  • switch
  • top-app-bar-fixed
  • dialog
  • list
  • icon-button-toggle
  • slider
  • tabs
  • snackbar
  • textfield
  • textarea
  • select
  • menu

full feature enables all the components

Theming

These components respect the theming applied to Material Web Components using stylesheets. Learn about how to theme Material Web Components.

Documentation

Full API documentation can be found here. Demos of components can be found here.

Contributing

  1. Fork it (https://github.com/hamza1311/material-yew)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].