vue3-google-icon
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i vue3-google-icon

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

13.3 kB

Total Files

11

Last publish

Collaborators

  • s18141099