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

@influitive/icons

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@influitive/icons

Influitive Icons

  • 2.0.0-alpha.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Influitive Icons

Adding new icons

Drop the new icon into the SVG folder and run npm run build. Add new SVG files to git and commit.

Use

import { Icon } from 'infl-icons';

...

<Icon icon='arrow-down'/>

This package wraps all the provided svg files and creates React components from them. Note that is means the SVG components are larger than the original SVGs, this allows us to abstract away how we load the SVGs. Also needed because we couldn't use <use> due to having to deploy to a CDN. (use doesn't currently work when host of the svg asset is different than the host of the server that served the html)

Keywords

FAQs

Package last updated on 28 Jul 2016

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