Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

icon-sheet

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

icon-sheet

Effortlessly Generate Icons from SVG files.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Icon Sheet

Downloads Version

Effortlessly Generate Icons from SVG files for ReactJS, VueJS, Angular, and Front-end Projects, Empowering Your UI Development.

Why Icon Sheet?

  • Light-weight
  • Flexible
  • Simple to use

With Icon-Sheet, you can seamlessly integrate custom icons into your web applications, enhancing user experience and visual appeal. Say goodbye to the hassle of manual icon creation and hello to a streamlined development process.

Whether you're building a dynamic web application or a responsive website, Icon-Sheet provides a straightforward solution for implementing icons that align perfectly with your design vision. Elevate your front-end projects with this powerful tool and experience the difference.

Installation

npm install icon-sheet

Setup

Put all your .svg in icons directory at the root of your project.

In your `package.json`` file, add a script:

"scripts": {
  "icon-sheet": "icon-sheet"
},

Then run the command

npm run icon-sheet

Arguments

  • --iconsDir: SVG icons directory. (Default: icons)
  • --ttfPath: Generated TTF font path. (Default: icon-sheet.ttf)
  • --woffPath: Generated WOFF font path. (Not generated by default)
  • --woff2Path: Generated WOFF2 font path. (Not generated by default)
  • --stylesPath: Generated styles path (Default: icon-sheet.css)

Example

"scripts": {
  "icon-sheet": "icon-sheet --iconsDir=src/svgs-icons"
},

Usage

..

<head>
  ..
  <link rel="stylesheet" href="/icon-sheet.css" />
  ..
</head>

..
<span class="icon">my_icon</span>
..

Icon name is same as the svg file name, icons/my_icon.svg.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Developer

Developed & maintained by neilveil.

Keywords

FAQs

Package last updated on 18 Oct 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc