# react-jazzicon

> React component for danfinlay/jazzicon

Latest version **1.0.4** (published 2022-06-10) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-06-10 |
| First published | 2017-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 26 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 45 |
| Author | marcusmolchany |
| Maintainers | marcusmolchany |
| Keywords | jazzicon, react, ethereum, metamask |

## Links

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

## Dependencies (1)

- [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

- 1.0.4 (latest) — 2022-06-10
- 1.0.3 — 2022-02-07
- 1.0.2 — 2022-02-07
- 1.0.1 — 2022-02-07
- 1.0.0 — 2022-02-07
- 0.1.3 — 2018-09-27
- 0.1.2 — 2018-08-29
- 0.1.1 — 2018-07-20
- 0.1.0 — 2018-07-17
- 0.0.1 — 2017-12-14
- 0.0.0 — 2017-12-14

## README

# react-jazzicon

[![NPM version][npm-image]][npm-url]
[![License][license-image]][license-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![Downloads][downloads-image]][downloads-url]

This is a react component for [Dan Finlay's](https://github.com/danfinlay)
[jazzicon](https://github.com/danfinlay/jazzicon).

# usage

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

export default function App(){

  …

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

for Ethereum addresses

```js
import Jazzicon, { jsNumberForAddress } from 'react-jazzicon'

export default function App () {

  …

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

# setup

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

## storybooks

the storybooks github pages are hosted from the `/docs` directory on the `gh-pages` branch.

run the storybooks locally by running the following commands:

```sh
$ yarn # or npm i
$ yarn storybooks # or npm run storybooks
```

[npm-image]: https://img.shields.io/npm/v/react-jazzicon.svg?style=for-the-badge&labelColor=161c22
[npm-url]: https://www.npmjs.com/package/react-jazzicon
[license-image]: https://img.shields.io/npm/l/react-jazzicon.svg?style=for-the-badge&labelColor=161c22
[license-url]: /LICENSE
[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
[downloads-image]: https://img.shields.io/npm/dm/react-jazzicon.svg?style=for-the-badge&labelColor=161c22
[downloads-url]: https://www.npmjs.com/package/react-jazzicon

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