React Sailor Icons
What is react-sailor-icons?
react-sailor-icons is a collection of nice open source icons for React.js. Each icon is designed with an emphasis on simplicity, consistency and readability.
Based on Sailor Icons
Support for tree-shaking, to help you reduce bundle size.
Installation
npm install react-sailor-icons --save
// or
yarn add react-sailor-icons
Usage
;; const App = { return <Anchor />}; ;
Icons can be configured with inline props:
<Anchor color="red" size=48 />
If you can't use ES6 imports, it's possible to include icons from the compiled folder ./dist.
var Anchor = default; var MyComponent = React;
You can also include the whole icon pack:
;; const App = { return <IconAnchor />}; ;