Installations
npm install vue-cli-plugin-any-svgicon
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
17.4.0
NPM Version
8.3.1
Score
61.5
Supply Chain
79.7
Quality
73.6
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (74.52%)
EJS (10.78%)
Vue (7.45%)
CSS (7.26%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
risha700
Download Statistics
Total Downloads
15,201
Last Day
4
Last Week
19
Last Month
100
Last Year
1,262
GitHub Statistics
21 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Mar 17, 2024
Bundle Size
565.00 B
Minified
388.00 B
Minified + Gzipped
Package Meta Information
Latest Version
3.0.0
Package Id
vue-cli-plugin-any-svgicon@3.0.0
Unpacked Size
434.83 kB
Size
292.92 kB
File Count
245
NPM Version
8.3.1
Node Version
17.4.0
Total Downloads
Cumulative downloads
Total Downloads
15,201
Last Day
0%
4
Compared to previous day
Last Week
-5%
19
Compared to previous week
Last Month
22%
100
Compared to previous month
Last Year
-53.9%
1,262
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Dev Dependencies
2
Any-Svgicon vue cli plugin
Is not an icon library, it is a tool to generate sprite svg from icons you will choose, although it generates heroicons collection as a starter while maintaining a backup folder to preview and import from any icons you will list.
Advantages :
- easy install "No need to setup webpack configuration".
- ready to use vue component.
- preview for all icons locally from your command line.
- import, rename, delete icons from the UI.
Installation
vue add any-svgicon
this will install, invoke the plugin and leave you with svg-icon.config.js and .env file in your root directory for any special webpack setup, additionally adds the SvgIcon component to components directory.
Next:
-
You will be propmt to choose a folder name (relative to src/assets) to place your chosen svg icons that will be available for you to include in your vue project
-
Add some icon files you pick to the icons folder
note:
all svg icons in the icons folder will be bundled and injected in main.js webpack context.
Tip:
clean icons width and height is optional but recommended "you control it with css later and svgo plugin strips out most of the attributes", use the following script inside icons folder
for f in `ls`;do sed -E -i '' 's/(\^width|height)=.[[:alnum:]]+[\"]/ /g' $f;done
preview your chosen icons
npm run icons
Will open up a friendly interface on port 3000 to search and choose from.
usage:
<SvgIcon icon-name='whatevername'/>
available props:
className:string
outline:boolean
// normally will use solid version of the icon and clean its attributes with svgo and
//then reapply styles with css
Credits
- svg-sprite-loader
- svgo
Licensce:
MIT

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
33 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q
- Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6
- Warn: Project is vulnerable to: GHSA-434g-2637-qmqr
- Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m
- Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw
- Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p
- Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747
- Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh
- Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-566m-qj78-rww5
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc
Score
1.3
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More