Go to file
2018-03-05 18:22:44 -06:00
src fix undefined className 2017-11-16 14:36:59 -06:00
.babelrc initial project build 2017-11-01 15:37:38 -05:00
.eslintrc initial set of feather icons 2017-11-01 14:06:01 -05:00
.gitignore initial set of feather icons 2017-11-01 14:06:01 -05:00
.npmignore initial set of feather icons 2017-11-01 14:06:01 -05:00
package-lock.json 0.1.4 2017-11-16 14:37:27 -06:00
package.json 0.1.4 2017-11-16 14:37:27 -06:00
README.md update README 2018-03-05 18:22:44 -06:00
yarn.lock initial set of feather icons 2017-11-01 14:06:01 -05:00

Feather Icons React

npm

npm install --save feather-icons-react

This package lets you use Feather Icons as a React Component. Feather Icons is an svg font library by Cole Bemis.

Example usage:

import FeatherIcon from 'feather-icons-react';
<FeatherIcon icon="close" />

Setting a size:

Size can be passed as either string or number.

e.g.: <FeatherIcon icon="copy" size="24" /> or <... size={24} />

Sizes can always be easily overridden by CSS.

The icons are all square.

The full list of icon names can be referenced at: feathericons.com