Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Collection Open Source svg icons and generate react vue component

License

NotificationsYou must be signed in to change notification settings

coderminer/cmicons

Repository files navigation

Collection Open source Svg icons and generate React Vue component,now collectjamiconshumbleicons

使用说明

Vue

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>

React

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>)}

License

This library is MIT licensed.

About

Collection Open Source svg icons and generate react vue component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp