New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

plotly-icons

Package Overview
Dependencies
Maintainers
19
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plotly-icons

set of plotly icons

1.3.12
Source
npm
Version published
Weekly downloads
1.4K
10.1%
Maintainers
19
Weekly downloads
 
Created
Source

plotly-icons

Icon set used with Plotly

Demo: plotly-icons.now.sh

Usage

  • Install the module with npm install or yarn install.
  • Import into your project like so: import {CarretDownIcon} from 'plotly-icons';
  • Add extra classes by adding a className to the imported icon.

Development

  • Export SVG files with "Inline Styles", as the script can't parse classes in svg. Ensure the files don't have fields like data-name that seem to be unsupported by React.
  • Run npm run generate to convert SVG icons into React components.
  • Run npm run prepublishOnly and ensure there are no errors.

See also

License

© 2017 Plotly, Inc. MIT License.

Keywords

Icons

FAQs

Package last updated on 21 May 2019

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