react-avatar-gen
v0.0.26
Published
Mini project which saves 30 minutes of your life. Import and generate avatars for your users in seconds!
Downloads
103
Readme
React Pixel Avatar Generator
Mini project which saves 30 minutes of your life. Import and generate avatars for your users in seconds!
Usage
- Import -
import { PixelAvatar } from 'react-avatar-gen'
- Use -
<PixelAvatar seed='example' />
Props
seed
- string - Seed for randomsideLength?
- number - Width and height of the svg. Default: 40pxsideResolution?
- number - Density of pixels on each side. Default: 8className?
- string - Classname for styling
Contribution
I'm open to contributions. If you have any questions, bugs or ideas feel free to open issues / contact me.