feather-icons-ts-react/README.md
2017-11-01 15:37:38 -05:00

511 B

#Feather Icons React

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 (https://feathericons.com/).

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} />

The icon names can all be referenced at: https://feathericons.com/