react-dripicons is a free SVG icon library, built for React. It is a port of the Dripicons V2 icon pack made by Amit Jakhu and licensed under the Creative Commons Attribution 4.0 International License.
Inspired by the popular react-feather library.
npm
npm install react-dripicons
yarn
yarn add react-dripicons
import{Document}from'react-dripicons';constMyComponent=()=>(<Documentcolor="#0224AD"size={32}/>);Any SVG attribute can be passed in as well:
import{Document}from'react-dripicons';constMyComponent=()=>(<Documentsize={32}strokeWidth={3}/>);You can include the entire icon pack (but you probably shouldn't):
import*asIconsfrom'react-dripicons';constMyComponent=()=>(<Icons.Document/>);If your project does not support ES6 imports, use the dist folder:
varDocument=require('react-dripicons/dist/icons/document').default;