Nice Avatar Avatar Generator
Illustrated faces with per-parameter customization: sex, hair, eyes, nose, mouth, accessories
MIT SVG, PNG npm runs locally
Ready-to-use samples
Copy the URL or download the file.
Run Nice Avatar in your project
Nice Avatar is a React component with no hosted HTTP endpoint. Install the npm package to render it, or try a similarly illustrated style below.
Want a live playground instead?
Avataaars has a hosted URL API with a similar look, so you can preview and download without installing anything.
Usage
npm
npm i react-nice-avatar
import NiceAvatar, { genConfig } from 'react-nice-avatar';
const config = genConfig('felix');
<NiceAvatar style={{ width: '80px', height: '80px' }} {...config} /> About Nice Avatar
Clean illustrated avatar React component with fine-grained parameter control. Each facial feature (hair color, eye style, nose, mouth, earring, glasses) can be set independently or randomized from a seed. Export to PNG for non-SVG contexts.
Best for: Products where users pick their own avatar style from options
- License
- MIT
- Output
- SVG, PNG
- Deterministic
- Yes
- Hosted API
- No
- Package
- react-nice-avatar
- Links
- Docs GitHub
Other avatar generators
- DiceBear
- Boring Avatars
- Multiavatar
- Avataaars
- Bean Heads
- Jdenticon
- Minidenticons
- Blockies
- UI Avatars
- Robohash
- Gravatar
- Pravatar
- Open Peeps
Frequently Asked Questions
Is Nice Avatar free to use commercially?
Nice Avatar is licensed under MIT. This is a permissive license: you can use it in commercial projects with no royalties, though MIT requires keeping the license notice.
What output formats does Nice Avatar support?
Nice Avatar generates avatars as SVG, PNG. SVG output scales to any size without quality loss, useful for retina displays and print.
Is there a hosted Nice Avatar API?
No. Nice Avatar ships as an npm package that renders locally, there is no hosted HTTP endpoint to call. The samples on this page were generated with that package.
Does the same seed always produce the same Nice Avatar avatar?
Yes. Nice Avatar is fully deterministic: the same seed value always renders the identical avatar, so you never need to store the generated image.