Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-dripicons

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dripicons

React components for Dripicons

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React Dripicons

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.

Installation

npm

npm install react-dripicons

yarn

yarn add react-dripicons

Usage

import { Document } from 'react-dripicons';

const MyComponent = () => (
  <Document color="#0224AD" size={32} />
);

Any SVG attribute can be passed in as well:

import { Document } from 'react-dripicons';

const MyComponent = () => (
  <Document size={32} strokeWidth={3} />
);

You can include the entire icon pack (but you probably shouldn't):

import * as Icons from 'react-dripicons';

const MyComponent = () => (
  <Icons.Document />
);

If your project does not support ES6 imports, use the dist folder:

var Document = require('react-dripicons/dist/icons/document').default;

Keywords

FAQs

Package last updated on 04 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc