# hashicon-tsx

> Hashicon React (Hooks) utilizing @emeraldpay/hashicon

Latest version **0.0.4** (published 2022-05-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install hashicon-tsx
pnpm add hashicon-tsx
yarn add hashicon-tsx
bun add hashicon-tsx
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2022-05-16 |
| First published | 2021-12-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | wizardsorb |

## Links

- npm: https://www.npmjs.com/package/hashicon-tsx
- npm.io page: https://npm.io/package/hashicon-tsx

## Dependencies (2)

- [clsx](https://npm.io/package/clsx.md) ^1.1.1
- [@emeraldpay/hashicon](https://npm.io/package/@emeraldpay/hashicon.md) ^0.5.2

## Recent versions

- 0.0.4 (latest) — 2022-05-16
- 0.0.3 — 2022-05-16
- 0.0.2 — 2021-12-19
- 0.0.1 — 2021-12-15

## README

Hashicon React (Hooks)
======================

> Generates a beautiful representation of any string value.

React component for [@emeraldpay/hashicon](https://www.npmjs.com/package/@emeraldpay/hashicon)

Install
---

Install with: 
```shell
$ yarn add hashicon-tsx
```   

Install Original with: 
```shell
$ npm install @emeraldpay/hashicon-react --save
```   

Usage
---

```js
import { Hashicon } from 'hashicon-tsx';

// something that you want to represent visually. For example ID of an object on the screen.
const value = "9dddff8f-be81-4c27-80c8-099327865f3f";

// icon is a <canvas> element
<Hashicon value={value}/>

// Same icon with 80px in size
<Hashicon value={value} size={89}/>
```

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