Gathering detailed insights and metrics for vue-cli-plugin-any-svgicon
Gathering detailed insights and metrics for vue-cli-plugin-any-svgicon
Gathering detailed insights and metrics for vue-cli-plugin-any-svgicon
Gathering detailed insights and metrics for vue-cli-plugin-any-svgicon
Vue CLI Plugin to create your own SVG icons pack
npm install vue-cli-plugin-any-svgicon
Typescript
Module System
Node Version
NPM Version
JavaScript (74.52%)
EJS (10.78%)
Vue (7.45%)
CSS (7.26%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
21 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Mar 17, 2024
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
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
2
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.
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.
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
all svg icons in the icons folder will be bundled and injected in main.js webpack context.
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
npm run icons
Will open up a friendly interface on port 3000 to search and choose from.
<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
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
35 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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