# react-jazzicon-custom-colors

> React component for danfinlay/jazzicon

Latest version **0.1.7** (published 2019-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-jazzicon-custom-colors
pnpm add react-jazzicon-custom-colors
yarn add react-jazzicon-custom-colors
bun add react-jazzicon-custom-colors
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.7 |
| Published | 2019-05-21 |
| First published | 2019-05-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 261.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | redlanta |
| Maintainers | tosite |
| Keywords | jazzicon, react, ethereum, metamask |

## Links

- npm: https://www.npmjs.com/package/react-jazzicon-custom-colors
- Repository: https://github.com/redlanta/react-jazzicon
- Homepage: https://github.com/redlanta/react-jazzicon#readme
- Issues: https://github.com/redlanta/react-jazzicon/issues
- npm.io page: https://npm.io/package/react-jazzicon-custom-colors

## Dependencies (3)

- [color](https://npm.io/package/color.md) ^0.11.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.10
- [mersenne-twister](https://npm.io/package/mersenne-twister.md) ^1.1.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.7 (latest) — 2019-05-21
- 0.1.6 — 2019-05-21
- 0.1.5 — 2019-05-08
- 0.1.4 — 2019-05-08
- 0.1.3 — 2019-05-05

## README

react-jazzicon-custom-colors
==============
[![NPM version][npm-image]][npm-url] [![dependencies Status][david-dep-image]][david-dep-url] [![devDependencies Status][david-devDep-image]][david-devDep-url] [![Known Vulnerabilities][snyk-image]][snyk-url]

This is a forked version for [marcusmolchany's](https://github.com/marcusmolchany/react-jazzicon)
[jazzicon](https://github.com/marcusmolchany/react-jazzicon).

# usage

```js
import Jazzicon from 'react-jazzicon-custom-colors'

export default class App extends React.Component {

  …

  render() {
    return (
      <Jazzicon colors={myColorsArray} diameter={100} seed={Math.round(Math.random() * 10000000)} />
    )
  }
}
```

for Ethereum addresses
```js
import Jazzicon, { jsNumberForAddress } from 'react-jazzicon-custom-colors'

export default class App extends React.Component {

  …

  render() {
    return (
      <Jazzicon colors={myColorsArray} diameter={100} seed={jsNumberForAddress('0x1111111111111111111111111111111111111111')} />
    )
  }
}
```

# setup

```sh
$ git clone https://github.com/redlanta/react-jazzicon
$ cd react-jazzicon
$ yarn # or npm i
```

## demo page

the demo page is on the `gh-pages` branch in the `demo` folder.

```sh
# first install dependencies in the top level package
$ yarn # or npm i

# then checkout the gh-pages branch and install dependencies in the "demo" folder
$ git checkout gh-pages
$ cd demo && yarn # or npm i
$ yarn start # or npm run start
```

[david-dep-image]: https://david-dm.org/marcusmolchany/react-jazzicon/status.svg
[david-dep-url]: https://david-dm.org/marcusmolchany/react-jazzicon
[david-devDep-image]: https://david-dm.org/marcusmolchany/react-jazzicon/dev-status.svg
[david-devDep-url]: https://david-dm.org/marcusmolchany/react-jazzicon?type=dev
[npm-image]: https://badge.fury.io/js/react-jazzicon.svg
[npm-url]: https://npmjs.org/package/react-jazzicon
[snyk-image]: https://snyk.io/test/github/marcusmolchany/react-jazzicon/badge.svg?targetFile=package.json
[snyk-url]: https://snyk.io/test/github/marcusmolchany/react-jazzicon?targetFile=package.json

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