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

@planet/icons

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planet/icons

A planet icon library for use in React applications. Import and render SVG icons as react components.

  • 1.2.0
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
9
Weekly downloads
 
Created
Source

@planet/icons

A planet icon library for use in React applications. Import and render SVG icons as react components.

To see all the icons rendered, Check out this hosted listing

Install
npm install @planet/icons
Usage
import React from 'react';
import CheckIcon from '@planet/icons/Check';

const App = () => (
  <div>
    <CheckIcon />
  </div>
);
Development
  1. npm install

  2. npm start - starts up the dev server (the console output will tell you what port it's running on)

  3. Add your svg icon to src

  4. Edit your icon to remove all unnecessary svg tags (see existing icons for examples)

  5. Add your icon to the doc/main.js file (this gets automatically published)

  6. Make sure the icon looks as expected in the browser

FAQs

Package last updated on 23 Mar 2018

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