# oko-icons

> SVG-based React icon components

Latest version **1.0.1** (published 2022-12-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install oko-icons
pnpm add oko-icons
yarn add oko-icons
bun add oko-icons
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-12-27 |
| First published | 2022-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hadi pawar |
| Maintainers | hadi-oko |
| Keywords | React, SVG, Icons |

## Links

- npm: https://www.npmjs.com/package/oko-icons
- npm.io page: https://npm.io/package/oko-icons

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.16.3

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-12-27
- 1.0.0 — 2022-12-22

## README

<img src="https://okonewsletterassets.s3.amazonaws.com/oko-logo.svg" width="120" alt="OKO Icons">

# [oko Icons](https://www.npmjs.com/package/oko-icons)

React projects easily with `oko-icons`, which utilizes ES6 imports that allows you to include only the icons that your project is using.

## Installation (for standard modern project)

```bash
yarn add oko-icons
# or
npm install oko-icons --save
```

example usage

```jsx
import { FacebookIcon } from "oko-icons";

function Component() {
  return (
      <FacebookIcon />
  );
}
```

| Key         | Default               | Notes                              |
| ----------- | --------------------- | ---------------------------------- |
| `color`     | `#029F88` (inherit) |                                    |
| `size`      | `24px`                 |                                    |
| `className` | `undefined`           |                                    |
| `style`     | `undefined`           | Can overwrite size and color       |
| `attr`      | `undefined`           | Overwritten by other attributes    |
| `title`     | `undefined`           | Icon description for accessibility |



### Development

Add svg files on the assets name as [name of icon]-icon.svg then run the following commands

```bash

yarn build
```

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