Simple Icons As Vue Components – vue3-simple-icons

Install & Download:

# Yarn
$ yarn add vue3-simple-icons
# NPM
$ npm install vue3-simple-icons

Description:

A tiny icon component that enables developers to use Simple Icons as components in their next Vue 3 powered apps.

How to use it:

1. Import desired icon(s) from the vue3-simple-icons.

import { FacebookIcon } from 'vue3-simple-icons'

2. Add the Facebook icon as a component to the app.

<FacebookIcon />

3. Set the style of the icon.

<FacebookIcon style="fill: black"/>

4. Set the size of the icon.

<FacebookIcon size="48px"/>

Preview:

vue3-simple-icons

Tags:

Add Comment