Skip to content

plotly/plotly-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plotly-icons

Icon set used with Plotly Chart Studio

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

  1. 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.
  2. Run npm run generate to convert SVG icons into React components.
  3. Run npm run prepublishOnly and ensure there are no errors.

License

© 2017 Plotly, Inc. MIT License.

About

icon set behind plot.ly react-plotly.js-editor and other open-source tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published