For the latest information please read this document instead:

How to use NPM Package for Streamline Icons


Deprecated wrapper/asset packages

Warning, wrapper packages for React, Angular and Vue are deprecated and will be removed on June 1st 2021. Please use our new package streamlinehq instead, it provides a much better user experience.

If you still wish to use the old packages, read on.

If you want to use Streamline Icon packages you need to configure your npm token in your dev machine.

<aside> 🚧 During ßeta, only the "Streamline Ultimate" customers have access to the NPM packages (if you own the Streamline Essential pack, you can upgrade by emailing us )

</aside>

1. Start by copying your auth token

Navigate to "My Account" > "Developer Tools"

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/654ab18e-4739-4b07-9ccb-608ed3c49afd/Image_22_04_2020_16_55_collee.png

Activate the NPM React Package

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6f05ab4b-6d26-4931-abfb-778bebfe91ed/Image_22_04_2020_17_03_collee.png

Copy your token

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5ae68a8e-1357-45e7-9933-6ab224435ab4/Image_22_04_2020_17_10_collee.png

2. Add the registry to your package manager

a. Per project setup (recommended)

Create a .npmrc at the root of your folder and add these lines:

@streamlinehq:registry=https://npm.cloudsmith.io/streamlinehq/streamline-icons/
//npm.cloudsmith.io/streamlinehq/streamline-icons/:_authToken=YOUR_TOKEN_HERE

Please note that this file shouldn't be committed to your production servers. You can use pre-build hooks to set up your configuration on the server.