
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
svg2react-icon
Advanced tools
A library to generate reusable React Icon components from raw SVG icons
npm install --save-dev svg2react-icon
In your package.json
:
{
"scripts": {
"build": "svg2react-icon [options] <inputDir> <outputDir>",
...
}
}
Or in the command-line:
svg2react-icon [options] <inputDir> <outputDir>
Options:
--typescript generate TypeScript components instead of JS
--monochrome strip all fill and stroke attributes
--named-export use named export instead of export default
MIT
FAQs
Unknown package
The npm package svg2react-icon receives a total of 37,914 weekly downloads. As such, svg2react-icon popularity was classified as popular.
We found that svg2react-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.