@iconify-prerendered
A superset standalone icon-components for Vue with zero dependencies. Designed for ease of use and high performance.
Features
- Easy to use
- No plugins required! Compatible with any build tools.
- Zero dependencies.
- SSR / SSG friendly.
- TypeScript support.
- High performance
- Does not require any external resources like fonts, css, images.
- The icon code is embedded in your bundle.
- Supports tree shaking, so only those icons that you have used will be included in the bundle.
- Works offline.
- Powered by iconify.
Live demo: https://stackblitz.com/edit/iconify-prerendered-demo?file=src%2FApp.vue
Installation
Install the appropriate icon set
npm i @iconify-prerendered/vue-<icon-set-name>
# Bootstrap Icons
npm i @iconify-prerendered/vue-bi
# Material Design Icons
npm i @iconify-prerendered/vue-mdi
Usage
Just import icon-component from set like usual.
<script setup>
// Import two icons from Font Awesome Brands
import { IconVuejs, IconJs } from '@iconify-prerendered/vue-fa-brands';
// Import one Icon from Material Design icons
import { IconCardsHeart } from '@iconify-prerendered/vue-mdi';
</script>
<template>
<p>
<IconJs />
<IconCardsHeart />
<IconVuejs />
</p>
</template>
Only these three icons will be included in your bundle. All other icons may be tree-shaken by your bundler.
That's all you need. No plugins, extra configs, IDE extensions or something else. It just works.
Available icons sets
Icon set | Package | Last modified |
---|---|---|
Academicons | @iconify-prerendered/vue-academicons |
Jan 2, 2023 |
Akar Icons | @iconify-prerendered/vue-akar-icons |
Mar 20, 2023 |
Ant Design Icons | @iconify-prerendered/vue-ant-design |
Jun 25, 2022 |
Arcticons | @iconify-prerendered/vue-arcticons |
Apr 19, 2023 |
Basil | @iconify-prerendered/vue-basil |
Feb 6, 2023 |
Bootstrap Icons | @iconify-prerendered/vue-bi |
Mar 27, 2023 |
BoxIcons | @iconify-prerendered/vue-bx |
Sep 20, 2022 |
BoxIcons Logo | @iconify-prerendered/vue-bxl |
Sep 20, 2022 |
BoxIcons Solid | @iconify-prerendered/vue-bxs |
Sep 20, 2022 |
BPMN | @iconify-prerendered/vue-bpmn |
Jun 25, 2022 |
Brandico | @iconify-prerendered/vue-brandico |
Jun 25, 2022 |
Bytesize Icons | @iconify-prerendered/vue-bytesize |
Jun 25, 2022 |
Carbon | @iconify-prerendered/vue-carbon |
Feb 24, 2023 |
Charm Icons | @iconify-prerendered/vue-charm |
Dec 2, 2022 |
Circle Flags | @iconify-prerendered/vue-circle-flags |
Apr 12, 2023 |
Circum Icons | @iconify-prerendered/vue-circum |
Jan 11, 2023 |
Clarity | @iconify-prerendered/vue-clarity |
Jan 2, 2023 |
Codicons | @iconify-prerendered/vue-codicon |
Mar 20, 2023 |
coolicons | @iconify-prerendered/vue-ci |
Mar 8, 2023 |
CoreUI Brands | @iconify-prerendered/vue-cib |
Jun 25, 2022 |
CoreUI Flags | @iconify-prerendered/vue-cif |
Jan 2, 2023 |
CoreUI Free | @iconify-prerendered/vue-cil |
Jun 25, 2022 |
Covid Icons | @iconify-prerendered/vue-covid |
Apr 10, 2023 |
Cryptocurrency Color Icons | @iconify-prerendered/vue-cryptocurrency-color |
Jan 2, 2023 |
Cryptocurrency Icons | @iconify-prerendered/vue-cryptocurrency |
Aug 24, 2022 |
css.gg | @iconify-prerendered/vue-gg |
Jun 25, 2022 |
Dashicons | @iconify-prerendered/vue-dashicons |
Jun 25, 2022 |
Devicon | @iconify-prerendered/vue-devicon |
Apr 19, 2023 |
Devicon Plain | @iconify-prerendered/vue-devicon-plain |
Apr 19, 2023 |
Elegant | @iconify-prerendered/vue-et |
Jun 25, 2022 |
Element Plus | @iconify-prerendered/vue-ep |
Aug 12, 2022 |
Elusive Icons | @iconify-prerendered/vue-el |
Jun 25, 2022 |
Emoji One (Colored) | @iconify-prerendered/vue-emojione |
Jan 2, 2023 |
Emoji One (Monotone) | @iconify-prerendered/vue-emojione-monotone |
Jun 25, 2022 |
Emoji One (v1) | @iconify-prerendered/vue-emojione-v1 |
Jan 2, 2023 |
Entypo+ | @iconify-prerendered/vue-entypo |
Jun 25, 2022 |
Entypo+ Social | @iconify-prerendered/vue-entypo-social |
Jun 25, 2022 |
EOS Icons | @iconify-prerendered/vue-eos-icons |
Jan 2, 2023 |
Eva Icons | @iconify-prerendered/vue-eva |
Jan 2, 2023 |
Evil Icons | @iconify-prerendered/vue-ei |
Jun 25, 2022 |
Feather Icon | @iconify-prerendered/vue-fe |
Jan 2, 2023 |
Feather Icons | @iconify-prerendered/vue-feather |
Jun 25, 2022 |
File Icons | @iconify-prerendered/vue-file-icons |
Jun 25, 2022 |
Firefox OS Emoji | @iconify-prerendered/vue-fxemoji |
Jun 25, 2022 |
Flag Icons | @iconify-prerendered/vue-flag |
Mar 29, 2023 |
Flagpack | @iconify-prerendered/vue-flagpack |
Jan 2, 2023 |
Flat Color Icons | @iconify-prerendered/vue-flat-color-icons |
Jan 2, 2023 |
Flat UI Icons | @iconify-prerendered/vue-flat-ui |
Jan 2, 2023 |
Fluent Emoji | @iconify-prerendered/vue-fluent-emoji |
Mar 20, 2023 |
Fluent Emoji Flat | @iconify-prerendered/vue-fluent-emoji-flat |
Mar 20, 2023 |
Fluent Emoji High Contrast | @iconify-prerendered/vue-fluent-emoji-high-contrast |
Mar 20, 2023 |
Fluent UI MDL2 | @iconify-prerendered/vue-fluent-mdl2 |
Oct 13, 2022 |
Fluent UI System Icons | @iconify-prerendered/vue-fluent |
Apr 18, 2023 |
Font Awesome 4 | @iconify-prerendered/vue-fa |
Jun 25, 2022 |
Font Awesome 5 Brands | @iconify-prerendered/vue-fa-brands |
Jun 25, 2022 |
Font Awesome 5 Regular | @iconify-prerendered/vue-fa-regular |
Jun 25, 2022 |
Font Awesome 5 Solid | @iconify-prerendered/vue-fa-solid |
Jun 25, 2022 |
Font Awesome Brands | @iconify-prerendered/vue-fa6-brands |
Mar 29, 2023 |
Font Awesome Regular | @iconify-prerendered/vue-fa6-regular |
Mar 29, 2023 |
Font Awesome Solid | @iconify-prerendered/vue-fa6-solid |
Mar 29, 2023 |
Font-GIS | @iconify-prerendered/vue-gis |
Jan 2, 2023 |
FontAudio | @iconify-prerendered/vue-fad |
Dec 9, 2022 |
Fontelico | @iconify-prerendered/vue-fontelico |
Jun 25, 2022 |
Fontisto | @iconify-prerendered/vue-fontisto |
Jun 25, 2022 |
Foundation | @iconify-prerendered/vue-foundation |
Jun 25, 2022 |
Gala Icons | @iconify-prerendered/vue-gala |
Jan 2, 2023 |
Game Icons | @iconify-prerendered/vue-game-icons |
Sep 27, 2022 |
GeoGlyphs | @iconify-prerendered/vue-geo |
Jun 25, 2022 |
Gitlab SVGs | @iconify-prerendered/vue-pajamas |
Mar 22, 2023 |
Google Material Icons | @iconify-prerendered/vue-ic |
Jan 2, 2023 |
Gridicons | @iconify-prerendered/vue-gridicons |
Mar 17, 2023 |
Grommet Icons | @iconify-prerendered/vue-grommet-icons |
Jun 25, 2022 |
Guidance | @iconify-prerendered/vue-guidance |
Apr 10, 2023 |
Health Icons | @iconify-prerendered/vue-healthicons |
Mar 24, 2023 |
HeroIcons | @iconify-prerendered/vue-heroicons |
Jan 2, 2023 |
HeroIcons v1 Outline | @iconify-prerendered/vue-heroicons-outline |
Aug 24, 2022 |
HeroIcons v1 Solid | @iconify-prerendered/vue-heroicons-solid |
Aug 26, 2022 |
Humbleicons | @iconify-prerendered/vue-humbleicons |
Oct 21, 2022 |
Icalicons | @iconify-prerendered/vue-il |
Jun 25, 2022 |
IcoMoon Free | @iconify-prerendered/vue-icomoon-free |
Jun 25, 2022 |
Iconoir | @iconify-prerendered/vue-iconoir |
Apr 14, 2023 |
IconPark | @iconify-prerendered/vue-icon-park |
Jan 2, 2023 |
IconPark Outline | @iconify-prerendered/vue-icon-park-outline |
Jan 2, 2023 |
IconPark Solid | @iconify-prerendered/vue-icon-park-solid |
Jan 2, 2023 |
IconPark TwoTone | @iconify-prerendered/vue-icon-park-twotone |
Jan 2, 2023 |
Icons8 Windows 10 Icons | @iconify-prerendered/vue-icons8 |
Jun 25, 2022 |
Icons8 Windows 8 Icons | @iconify-prerendered/vue-wpf |
Jun 25, 2022 |
Innowatio Font | @iconify-prerendered/vue-iwwa |
Jun 25, 2022 |
IonIcons | @iconify-prerendered/vue-ion |
Mar 24, 2023 |
Jam Icons | @iconify-prerendered/vue-jam |
Jun 25, 2022 |
Ligature Symbols | @iconify-prerendered/vue-ls |
Jun 25, 2022 |
Line Awesome | @iconify-prerendered/vue-la |
Jun 25, 2022 |
Lucide | @iconify-prerendered/vue-lucide |
Apr 19, 2023 |
Majesticons | @iconify-prerendered/vue-majesticons |
Jan 2, 2023 |
Maki | @iconify-prerendered/vue-maki |
Mar 15, 2023 |
Map Icons | @iconify-prerendered/vue-map |
Jun 25, 2022 |
Material Design Iconic Font | @iconify-prerendered/vue-zmdi |
Jun 25, 2022 |
Material Design Icons | @iconify-prerendered/vue-mdi |
Mar 10, 2023 |
Material Design Light | @iconify-prerendered/vue-mdi-light |
Dec 16, 2022 |
Material Line Icons | @iconify-prerendered/vue-line-md |
Apr 5, 2023 |
Material Symbols | @iconify-prerendered/vue-material-symbols |
Apr 19, 2023 |
Medical Icons | @iconify-prerendered/vue-medical-icon |
Jun 25, 2022 |
Memory Icons | @iconify-prerendered/vue-memory |
Jan 29, 2023 |
MingCute Icon | @iconify-prerendered/vue-mingcute |
Feb 6, 2023 |
Mono Icons | @iconify-prerendered/vue-mi |
Jun 25, 2022 |
Mono Icons | @iconify-prerendered/vue-mono-icons |
Jun 25, 2022 |
Nimbus | @iconify-prerendered/vue-nimbus |
Oct 28, 2022 |
Nonicons | @iconify-prerendered/vue-nonicons |
Feb 22, 2023 |
Noto Emoji | @iconify-prerendered/vue-noto |
Jan 2, 2023 |
Noto Emoji (v1) | @iconify-prerendered/vue-noto-v1 |
Jan 2, 2023 |
Octicons | @iconify-prerendered/vue-octicon |
Mar 24, 2023 |
OOUI | @iconify-prerendered/vue-ooui |
Mar 20, 2023 |
Open Iconic | @iconify-prerendered/vue-oi |
Jun 25, 2022 |
OpenMoji | @iconify-prerendered/vue-openmoji |
Jan 15, 2023 |
Pepicons | @iconify-prerendered/vue-pepicons |
Jan 2, 2023 |
Pepicons Pop! | @iconify-prerendered/vue-pepicons-pop |
Jan 2, 2023 |
Pepicons Print | @iconify-prerendered/vue-pepicons-print |
Jan 2, 2023 |
Phosphor | @iconify-prerendered/vue-ph |
Mar 8, 2023 |
Pixelarticons | @iconify-prerendered/vue-pixelarticons |
Aug 22, 2022 |
PrestaShop Icons | @iconify-prerendered/vue-ps |
Jun 25, 2022 |
Prime Icons | @iconify-prerendered/vue-prime |
Sep 16, 2022 |
Quill Icons | @iconify-prerendered/vue-quill |
Feb 6, 2023 |
Radix Icons | @iconify-prerendered/vue-radix-icons |
Jan 2, 2023 |
Raphael | @iconify-prerendered/vue-raphael |
Jun 25, 2022 |
Remix Icon | @iconify-prerendered/vue-ri |
Apr 17, 2023 |
Simple Icons | @iconify-prerendered/vue-simple-icons |
Apr 10, 2023 |
Simple line icons | @iconify-prerendered/vue-simple-line-icons |
Jun 25, 2022 |
Skill Icons | @iconify-prerendered/vue-skill-icons |
Feb 3, 2023 |
SmartIcons Glyph | @iconify-prerendered/vue-si-glyph |
Jan 2, 2023 |
Solar | @iconify-prerendered/vue-solar |
Mar 29, 2023 |
Streamline | @iconify-prerendered/vue-streamline |
Apr 4, 2023 |
Streamline Emojis | @iconify-prerendered/vue-streamline-emojis |
Apr 10, 2023 |
Subway Icon Set | @iconify-prerendered/vue-subway |
Oct 11, 2022 |
SVG Logos | @iconify-prerendered/vue-logos |
Apr 19, 2023 |
SVG Spinners | @iconify-prerendered/vue-svg-spinners |
Jan 15, 2023 |
System UIcons | @iconify-prerendered/vue-system-uicons |
Jan 2, 2023 |
Tabler Icons | @iconify-prerendered/vue-tabler |
Apr 17, 2023 |
Teenyicons | @iconify-prerendered/vue-teenyicons |
Jun 26, 2022 |
TopCoat Icons | @iconify-prerendered/vue-topcoat |
Jun 25, 2022 |
Twitter Emoji | @iconify-prerendered/vue-twemoji |
Jan 2, 2023 |
Typicons | @iconify-prerendered/vue-typcn |
Jun 25, 2022 |
uiw icons | @iconify-prerendered/vue-uiw |
Jan 2, 2023 |
Unicons | @iconify-prerendered/vue-uil |
Jun 25, 2022 |
Unicons Monochrome | @iconify-prerendered/vue-uim |
Feb 18, 2023 |
Unicons Solid | @iconify-prerendered/vue-uis |
Jun 25, 2022 |
Unicons Thin Line | @iconify-prerendered/vue-uit |
Jun 25, 2022 |
Vaadin Icons | @iconify-prerendered/vue-vaadin |
Jun 25, 2022 |
Vesper Icons | @iconify-prerendered/vue-vs |
Jun 25, 2022 |
VSCode Icons | @iconify-prerendered/vue-vscode-icons |
Apr 17, 2023 |
Weather Icons | @iconify-prerendered/vue-wi |
Jun 25, 2022 |
Web Symbols Liga | @iconify-prerendered/vue-websymbol |
Jun 25, 2022 |
WebHostingHub Glyphs | @iconify-prerendered/vue-whh |
Jun 25, 2022 |
Zondicons | @iconify-prerendered/vue-zondicons |
Nov 22, 2022 |
License
The code for generating the icon sets is distributed under the MIT license. The icon sets themselves are distributed under the license of their author.
Development setup
- Install Deno.
- Run
deno task generate
for generate all collections. Params:--version
or-v
specify version base for generated packages. Optional.--prefix
or-p
specify with collection to generate. May be multiple times. Optional.--no-replace-ids
disable replacing ids. Required for test case. Optional.--output
or-o
directory to place generated files. Optional.
- Run
deno task test
for run all tests. See more about test running.
Benchmarking
You can benchmark two version of icon sets. To do that:
- Generate baseline icon set by command:
deno task generate -p=fluent-emoji -o=benckmarks/generated/baseline
- Make any changes to generation process or whatever
- Generate tested icon set by command:
deno task generate -p=fluent-emoji -o=benckmarks/generated/test
- Run benchmark by
deno bench --allow-env
- Go to step #2