- Notifications
You must be signed in to change notification settings - Fork0
Collection Open Source svg icons and generate react vue component
License
NotificationsYou must be signed in to change notification settings
coderminer/cmicons
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Collection Open source Svg icons and generate React Vue component,now collectjamiconshumbleicons
Note that this library currently only supports Vue 3.
First, installcmicons-vue
from npm:
npm install cmicons-vue
Now each icon can be imported individually as a Vue component:
<template> <div> <SearchIconstyle="color:red"/> <p>...</p> </div></template><script>import {SearchIcon }from'cmicons-vue/jam'exportdefault { components: { SearchIcon }}</script>
<template> <div> <SearchIconstyle="color:red"/> <p>...</p> </div></template><script>import {SearchIcon }from'cmicons-vue/humble'exportdefault { components: { SearchIcon }}</script>
First, installcmicons-react
from npm:
npm install cmicons-react
Now each icon can be imported individually as a React component:
import{SearchIcon}from'cmicons-react/jam'functionMyComponent(){return(<div><SearchIcon/><p>...</p></div>)}
import{SearchIcon}from'cmicons-react/humble'functionMyComponent(){return(<div><SearchIcon/><p>...</p></div>)}
This library is MIT licensed.
About
Collection Open Source svg icons and generate react vue component
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.