# react-18-blockies

> Ethereum Style Identicons for React 18

Latest version **1.0.6** (published 2023-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-18-blockies
pnpm add react-18-blockies
yarn add react-18-blockies
bun add react-18-blockies
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-01-29 |
| First published | 2023-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | dozy.io |
| Maintainers | dozyio |

## Links

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

## Recent versions

- 1.0.6 (latest) — 2023-01-29
- 1.0.4 — 2023-01-29
- 1.0.1 — 2023-01-29

## README

# React 18 Blockies

This is a React 18 & Typescript port of https://github.com/stephensprinkle-zz/react-blockies
which in turn is a port of https://github.com/alexvandesande/blockies.

# Example:

```javascript
import Blockies from 'react-18-blockies';

export const myBlockies = () => (
  <Blockies
    seed="Jeremy" {/* the only required prop; determines how the image is generated */}
    size={10} {/* number of squares wide/tall the image will be; default = 15 */}
    scale={3} {/* width/height of each square in pixels; default = 4 */}
    color="#dfe" {/* normal color; random by default */}
    bgColor="#ffe" {/* background color; random by default */}
    spotColor="#abc" {/* color of the more notable features; random by default */}
    className="identicon" {/* optional class name for the canvas element; "identicon" by default */}
  />
)
```

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