https://github.com/bukinoshita/react-hash-avatar
React hash avatar algorithm
https://github.com/bukinoshita/react-hash-avatar
avatar gradient hash javascript nodejs svg
Last synced: 7 months ago
JSON representation
React hash avatar algorithm
- Host: GitHub
- URL: https://github.com/bukinoshita/react-hash-avatar
- Owner: bukinoshita
- License: mit
- Created: 2017-05-19T01:21:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T03:28:43.000Z (almost 3 years ago)
- Last Synced: 2025-03-16T17:45:13.676Z (7 months ago)
- Topics: avatar, gradient, hash, javascript, nodejs, svg
- Language: JavaScript
- Homepage: https://8x73i.sse.codesandbox.io
- Size: 1.58 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# react-hash-avatar [](https://travis-ci.org/bukinoshita/react-hash-avatar)
> React hash avatar algorithm
## Install
```
$ yarn add react-hash-avatar
```## Usage
```js
import ReactHashAvatar from 'react-hash-avatar'export default () =>
```## API
### Props
#### name
Type: `string`
Required**Unique** name
#### height
Type: `string`
RequiredThe component height
#### width
Type: `string`
RequiredThe component width
#### radius
Type: `string`
Default: `0`The component radius
## Demo

## Related
- [hash-avatar](https://github.com/bukinoshita/hash-avatar) — :rainbow: Hash avatar algorithm
## License
[MIT](https://github.com/bukinoshita/react-cookies/blob/master/license) © Bu Kinoshita
Thanks to [rauchg](https://twitter.com/rauchg)