vue3-google-icon
v1.0.1
Published
Vue 3 wrapper component for Google Material Icons.
Downloads
5
Maintainers
Readme
vue3-google-icon
Vue 3 wrapper component for Google Material Icons.
Installation
You can install the package via npm:
npm install vue3-google-icon
Usage
<script setup lang="ts">
import { Icon } from "vue3-google-icon"
</script>
<template>
<Icon type="home" color="blue"/>
</template>
Props
type
(string): The name of the Google Material Icon.color
(string?): The color of the icon.size
(string?): The size of the icon.fill
(number?): Fill value for the icon.weight
(number?): Weight of the icon.grade
(number?): Grade of the icon.opticalSize
(number?): Optical size of the icon.
Google Material Icons
This package is a wrapper around Google Material Icons, a collection of delightful, beautifully crafted symbols for common actions and items.
License
This project is licensed under the MIT License - see the LICENSE file for details.