Package Exports
- vue-icons-plus
- vue-icons-plus/ai
- vue-icons-plus/bi
- vue-icons-plus/bs
- vue-icons-plus/cg
- vue-icons-plus/ci
- vue-icons-plus/di
- vue-icons-plus/fa
- vue-icons-plus/fa6
- vue-icons-plus/fc
- vue-icons-plus/fi
- vue-icons-plus/gi
- vue-icons-plus/go
- vue-icons-plus/gr
- vue-icons-plus/hi
- vue-icons-plus/hi2
- vue-icons-plus/im
- vue-icons-plus/io
- vue-icons-plus/io5
- vue-icons-plus/ip
- vue-icons-plus/lia
- vue-icons-plus/lib
- vue-icons-plus/lu
- vue-icons-plus/md
- vue-icons-plus/pi
- vue-icons-plus/ri
- vue-icons-plus/rx
- vue-icons-plus/si
- vue-icons-plus/sl
- vue-icons-plus/tb
- vue-icons-plus/tfi
- vue-icons-plus/ti
- vue-icons-plus/vsc
- vue-icons-plus/wi
Readme
Vue Icons Plus
Vue icons plus icons total 49514, support Vue 3/Vue 2.7+, allowing you to easily import and use them directly in Vue projects.
Installation (for standard modern project)
yarn add vue-icons-plus
# or
npm install vue-icons-plus --saveExample usage for Vue 3
<script>
import { FaBeer } from "vue-icons-plus/fa";
</script>
<template>
<div>
<FaBeer />
</div>
</template>
Example usage for Vue ^2.7
<script>
import { FaBeer } from "vue-icons-plus/fa";
export default {
components: {
FaBeer
}
}
</script>
<template>
<div>
<FaBeer />
</div>
</template>
View the documentation for further usage examples and how to use icons from other packages. NOTE: each Icon package has it's own subfolder under vue-icons-plus you import from.
For example, to use an icon from Material Design, your import would be: import { ICON_NAME } from 'vue-icons-plus/md';
Installation (for meteorjs, gatsbyjs, etc)
If your project grows in size, this option is available. This method has the trade-off that it takes a long time to install the package.
yarn add @vue-icons-plus/all-files
# or
npm install @vue-icons-plus/all-files --saveExample usage for Vue 3
<script>
import { FaBeer } from "@vue-icons-plus/all-files/icons/fa/FaBeer";
</script>
<template>
<div>
<FaBeer />
</div>
</template>Example usage for Vue ^2.7
<script>
import { FaBeer } from "@vue-icons-plus/all-files/icons/fa/FaBeer";
export defautls {
components: {
FaBeer
}
}
</script>
<template>
<div>
<FaBeer />
</div>
</template>
Icons
You can add more icons by submitting pull requests or creating issues.
Configuration
You can change the size, color, and so on of icons through props.
<script>
import { FaBeer } from "vue-icons-plus/fa";
</script>
<template>
<div>
<FaBeer size="48" color="#333" />
</div>
</template>
Props
| Key | Default | Notes |
|---|---|---|
color |
undefined (inherit) |
|
size |
24 |
|
className |
undefined |
|
style |
undefined |
Can overwrite size and color |
Contributing
Development
yarn
cd packages/core
yarn fetch # fetch icon sources
yarn buildLicence
MIT
- Icons are taken from the other projects so please check each project licences accordingly.