0.0.1 • Published 6 years ago
@web-component/material-icon v0.0.1
<material-icon>
A web-component for easy Material Icon usage.
Find icon names here.
Props
name | type | default | required |
---|---|---|---|
name | string | ✖ | yes |
size | string | "sm" | no |
Usage
Add the Material Icons font and material-icon
to your index.html.
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src='https://unpkg.com/@web-component/material-icon@0.0.1/dist/material-icon.js'></script>
0.0.1
6 years ago