cmicons-vue
v1.0.5
Published
Collection Open source Svg icons and generate React Vue component, now collect [jamicons](https://github.com/michaelampr/jam) [humbleicons](https://github.com/zraly/humbleicons)
Downloads
3,312
Maintainers
Readme
Basic Usage
Collection Open source Svg icons and generate React Vue component, now collect jamicons humbleicons
Vue
Note that this library currently only supports Vue 3.
First, install cmicons-vue
from npm:
npm install cmicons-vue
Now each icon can be imported individually as a Vue component:
Jam icons
<template>
<div>
<SearchIcon style="color:red"/>
<p>...</p>
</div>
</template>
<script>
import { SearchIcon } from 'cmicons-vue/jam'
export default {
components: { SearchIcon }
}
</script>
Humble icons
<template>
<div>
<SearchIcon style="color:red"/>
<p>...</p>
</div>
</template>
<script>
import { SearchIcon } from 'cmicons-vue/humble'
export default {
components: { SearchIcon }
}
</script>
License
This library is MIT licensed.