# material-ui-customizable-icons

> A set of minimalistic customizable material design SVG-icon components for React.

Latest version **0.2.5** (published 2017-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install material-ui-customizable-icons
pnpm add material-ui-customizable-icons
yarn add material-ui-customizable-icons
bun add material-ui-customizable-icons
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2017-03-30 |
| First published | 2017-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=7.5.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Anatolii Hordiienko |
| Maintainers | tolig |

## Links

- npm: https://www.npmjs.com/package/material-ui-customizable-icons
- Repository: https://github.com/gordienkotolik/material-ui-customizable-icons
- Homepage: https://gasite.in.ua/open-source/material-ui-customizable-icons/
- Issues: https://github.com/gordienkotolik/material-ui-customizable-icons/issues
- npm.io page: https://npm.io/package/material-ui-customizable-icons

## Dependencies (3)

- [react](https://npm.io/package/react.md) 15.4.2
- [react-dom](https://npm.io/package/react-dom.md) 15.4.2
- [material-ui](https://npm.io/package/material-ui.md) 0.16.7

## Recent versions

- 0.2.5 (latest) — 2017-03-30
- 0.2.4 — 2017-03-16
- 0.2.3 — 2017-03-15
- 0.2.2 — 2017-02-25
- 0.2.1 — 2017-02-25
- 0.2.0 — 2017-02-25
- 0.1.0 — 2017-02-20
- 0.0.11 — 2017-02-17
- 0.0.10 — 2017-02-17
- 0.0.9 — 2017-02-17
- 0.0.8 — 2017-02-17
- 0.0.7 — 2017-02-17
- 0.0.6 — 2017-02-17
- 0.0.5 — 2017-02-17
- 0.0.4 — 2017-02-17
- … 3 more at https://npm.io/package/material-ui-customizable-icons/versions

## README

material-ui-customizable-icons
=======================

## [Material-UI Customizable Icons](https://gasite.in.ua/open-source/material-ui-customizable-icons/)

A set of minimalistic customizable material design SVG-icon components for React.


## Requirements

- [Node](https://nodejs.org) 7.5.0 or newer (not tested on earlier versions)
- [Typescript](https://www.typescriptlang.org) 2.1.5 or newer (not tested on earlier versions)
- [Babel](https://babeljs.io) 6.2.2 or newer (not tested on earlier versions)


## Required Knowledge

I recommend that you get to know [React](http://facebook.github.io/react/) and [Material-UI](http://material-ui.com/).

## Installation
```sh
npm i material-ui-customizable-icons --save
```

## Usage
Once installed, just import and use the component:
```javascript
import React from 'react';
import Active from 'material-ui-customizable-icons/Active';

const className = 'custom-icon';
const viewBox = '0 0 48 48';
const transform = 'scale(2)';
const style = {
  width: '48px',
  height: '48px',
};
const pallet = {
  circle: 'rgba(169, 169, 169, 1)',
  tick: 'rgba(255, 255, 255, 1)',
};

const Example = () => (
  <Active
    className={className}
    style={style}
    transform={transform}
    pallet={pallet}
  />
);

export default Example;
```


#### Common Properties
| Props        | Options           | Default  | Description |
| ------------- |-------------| -----| -------- |
| className | String | '' | Adds custom class to SVG container.|
| style | Object | {} | Adds custom inline styles to SVG container. |
| viewBox | String | '0 0 24 24' | Defines view-box attribute of SVG container.|
| transform | String | '0 0 24 24' | The transform property applies a 2D or 3D transformation to an element.|
| pallet | Object | {} | Component-specific colors pallet. |

#### Components list and their specific pallets:
| Component        | Preview           | Pallet properties to specify colors for |
| ------------- |-------------| -------- |
| Active | ![Active Icon](png/active.png) | circle, tick |
| Inactive | ![Inactive Icon](png/inactive.png) | circle, tick, crossing |
| ChevronUp | ![ChevronUp Icon](png/chevron-up.png) | primary |
| ChevronDown | ![ChevronDown Icon](png/chevron-down.png) | primary |
| ChevronLeft | ![ChevronLeft Icon](png/chevron-left.png) | primary |
| ChevronRight | ![ChevronRight Icon](png/chevron-right.png) | primary |
| ArrowUp | ![ArrowUp Icon](png/arrow-up.png) | primary |
| ArrowDown | ![ArrowDown Icon](png/arrow-down.png) | primary |
| ArrowLeft | ![ArrowLeft Icon](png/arrow-left.png) | primary |
| ArrowRight | ![ArrowRight Icon](png/arrow-right.png) | primary |
| CaretUp | ![CaretUp Icon](png/caret-up.png) | primary |
| CaretDown | ![CaretDown Icon](png/caret-down.png) | primary |
| CaretLeft | ![CaretLeft Icon](png/caret-left.png) | primary |
| CaretRight | ![CaretRight Icon](png/caret-right.png) | primary |
| ViewArticles | ![ViewArticles Icon](png/view-articles.png) | primary |
| ViewGrid | ![ViewGrid Icon](png/view-grid.png) | primary |
| ViewHeadlines | ![ViewHeadlines Icon](png/view-headlines.png) | primary |
| ViewList | ![ViewList Icon](png/view-list.png) | primary |
| Hamburger | ![Hamburger Icon](png/hamburger.png) | primary |
| Edit | ![Edit Icon](png/edit.png) | primary |
| Cancel | ![Cancel Icon](png/cancel.png) | primary |
| Undo | ![Undo Icon](png/undo.png) | primary |
| Erase | ![Erase Icon](png/erase.png) | primary |
| Save | ![Save Icon](png/save.png) | primary |
| Delete | ![Delete Icon](png/delete.png) | cap, bucket, cross |
| MoveUp | ![MoveUp Icon](png/move-up.png) | arrow, strip |
| MoveDown | ![MoveDown Icon](png/move-down.png) | arrow, strip |
| MoveLeft | ![MoveLeft Icon](png/move-left.png) | arrow, strip |
| MoveRight | ![MoveRight Icon](png/move-right.png) | arrow, strip |
| Search | ![Search Icon](png/search.png) | stick, ring |
| SearchPlus | ![SearchPlus Icon](png/search-plus.png) | stick, ring, plus |
| SearchMinus | ![SearchMinus Icon](png/search-minus.png) | stick, ring, minus |
| Github | ![Github Icon](png/github.png) | cat, ring |


## Contribute

1. [Submit an issue](https://github.com/gordienkotolik//material-ui-customizable-icons/issues)
2. Fork the repository
3. Create a dedicated branch (never ever work in `master`)
4. The first time, run command: `yarn` into the directory
5. Fix bugs or implement features


## Future
- Fix distribution type definitions to handle "import {...} from 'material-ui-customizable-icons'" imports
- Add tests
- Add examples directory


## License
This project is licensed under the terms of the
[MIT license](https://github.com/gordienkotolik//material-ui-customizable-icons/blob/master/LICENSE)

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