# @opuscapita/react-icons

> OpusCapita icons

Latest version **4.0.14** (published 2020-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @opuscapita/react-icons
pnpm add @opuscapita/react-icons
yarn add @opuscapita/react-icons
bun add @opuscapita/react-icons
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.14 |
| Published | 2020-04-17 |
| First published | 2017-08-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.10.0 |
| Dependencies | 0 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | OpusCapita |
| Maintainers | adam-dziomdziora-cybercom, alexanderdanilov, alexeysergeev, bo-kh, dmitriy.sanko, dmitrydivin, dsanko, egor.stambakio, elefantino, eriihine, havantkim, ilkkalehtinen, janek.bug, jenni, jluukka, kaputse, kwierchris, lukaszkepa, naniantero, nczeranka, nkovalenko-sc, ocautomation, ocmachineuser, pdetmer, samikarj, tamkov-sc, zjuice |

## Links

- npm: https://www.npmjs.com/package/@opuscapita/react-icons
- Repository: https://github.com/OpusCapita/react-icons
- Homepage: https://github.com/OpusCapita/react-icons#readme
- Issues: https://github.com/OpusCapita/react-icons/issues
- npm.io page: https://npm.io/package/@opuscapita/react-icons

## Recent versions

- 4.0.14 (latest) — 2020-04-17
- 4.0.13 — 2020-03-13
- 4.0.12 — 2020-02-12
- 4.0.11 — 2019-12-31
- 4.0.10 — 2019-09-24
- 4.0.9 — 2019-07-31
- 4.0.8 — 2019-06-14
- 4.0.7 — 2019-06-13
- 4.0.6 — 2019-06-11
- 4.0.5 — 2019-05-24
- 4.0.4 — 2018-12-18
- 4.0.3 — 2018-12-17
- 4.0.2 — 2018-12-17
- 4.0.1 — 2018-12-17
- 4.0.0 — 2018-12-17
- … 19 more at https://npm.io/package/@opuscapita/react-icons/versions

## README

# react-icons

### Description
A collection of SVG icons, check out the Demo for the list of icons.

### Installation
```
npm install @opuscapita/react-icons
```

### Demo
View the [DEMO](https://opuscapita.github.io/react-icons)

### Builds
#### UMD
The default build with compiled styles in the .js file. Also minified version available in the lib/umd directory.
#### CommonJS/ES Module
You need to configure your module loader to use `cjs` or `es` fields of the package.json to use these module types.
Also you need to configure sass loader, since all the styles are in sass format.
* With webpack use [resolve.mainFields](https://webpack.js.org/configuration/resolve/#resolve-mainfields) to configure the module type.
* Add [SASS loader](https://github.com/webpack-contrib/sass-loader) to support importing of SASS styles.

### API
| Prop name                | Type             | Default                                  | Description                              |
| ------------------------ | ---------------- | ---------------------------------------- | ---------------------------------------- |
| type                     | string           | required                                 | Icon type / category                     |
| name                     | string           | required                                 | Icon name                                |
| width                    | number           | 40                                       | Icon width                               |
| height                   | number           | 40                                       | Icon height                              |

### Code example
```jsx
import React from 'react';
import { Icon } from '@opuscapita/react-icons';

export default class IconsView extends React.Component {
  render() {
    return (
      <Icon type="indicator" name="remove" />
    );
  }
}
```

---
_Source: https://npm.io/package/@opuscapita/react-icons · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
