# Avataaars Generator — card for AI agents

Free web generator for Sketch-style cartoon avatars designed by Pablo Stanley, plus an MIT React component.

Category: Avatars and placeholders · maker Avataaars (open-source generator) · checked 2026-11-09

## Price
- Price: Free
- Free tier: Free online generator, no sign-up needed.

## License
Free for personal and commercial use (site statement) — https://getavataaars.com

- commercial: **yes** (Commercial use OK)
  > Free for personal and commercial use.
  (https://getavataaars.com)
- in app: **unclear** (Shipping inside an app unclear)

## Rules to follow
- Use is free for personal and commercial projects per the site statement.
- The site gives no full license text; check attribution and redistribution terms with the designer before bundling the set in a product.

## How to connect
- Download only
- Repository: https://github.com/fangpenlin/avataaars-generator
- Website: https://getavataaars.com

## Notes
Illustration set by its designer, generator code MIT. No separate license page; the commercial-use line is on the generator home page.

## Lines to paste into your prompt or AGENTS.md

```
- Avataaars Generator (Avatars and placeholders). Free web generator for Sketch-style cartoon avatars designed by Pablo Stanley, plus an MIT React component. Price: free; commercial use OK; shipping inside an app unclear.
  Connect: download from https://getavataaars.com (no API).
  Rule: Use is free for personal and commercial projects per the site statement.
  Rule: The site gives no full license text; check attribution and redistribution terms with the designer before bundling the set in a product.
  License: https://getavataaars.com (checked 2026-11-09; details: https://agentgid.com/assets/avataaars/)
```

Not verified: Attribution, in-app embedding and redistribution terms are not stated; original Sketch library site avataaars.com could not be read.

## Links
- AgentGid page: https://agentgid.com/assets/avataaars/
- Is it free for commercial use? https://agentgid.com/assets/avataaars/commercial-use/
- Source: https://getavataaars.com
- Source: https://github.com/fangpenlin/avataaars-generator


## Avataaars: cartoon people avatars you put together

Avataaars is a free set of friendly cartoon people, with a website where you mix hair, clothes, skin color and face into your own avatar. The same drawings come as a small React component, so an app can show these avatars from a few settings instead of uploaded photos. Both are free for personal and commercial use.

### Where to use it
- Make your own avatar quickly: Open the generator, press random until a face fits, then adjust hair, glasses or clothes for a profile or a team page.
- Avatars inside a React app: Show a cartoon avatar next to each user in your app, described by a few settings such as hair, eyes and clothes.
- Default avatars from the user ID: Give every new account a stable cartoon face made from its ID, so lists never show empty grey circles. (idea, not from the official pages)
- Your own avatar editor: Build a character builder inside your product, where people pick each part of their avatar from the full set of options.
- Show single parts in a picker: Show just a mouth, eyes or a hairstyle as a button, so people can see each choice before they pick it.
- Friendly faces in mockups: Fill demo team pages, testimonials and screenshots with cartoon people instead of stock photos of real people. (idea, not from the official pages)

### How to start
- Install the component in a React 17 app.

```
npm install avataaars --save
```

- Design an avatar in the online generator; it gives you the React code with all the settings filled in.
- Paste that code where the avatar should appear and swap the fixed values for values saved with each user.

### License
Free for personal and commercial use. The React component, drawings included, is under the MIT license, so keep its copyright notice when you ship the code.

### Good to know
- The React component has not changed since version 2.0.0 in 2021 and is built for React 17.
- It uses an old React feature that React 19 removed, so it will not work in a React 19 app as is.
- There is no seed. You choose every part yourself, or write a few lines that pick parts from the user ID.
- The original drawing library site, avataaars.com, did not open on 2026-11-23; the license facts here come from the generator page and the component's MIT license.

Checked 2026-11-23 against: https://getavataaars.com, https://github.com/fangpenlin/avataaars-generator, https://github.com/fangpenlin/avataaars-generator/blob/master/README.md, https://github.com/fangpenlin/avataaars-generator/blob/master/LICENSE, https://github.com/fangpenlin/avataaars, https://github.com/fangpenlin/avataaars/blob/master/README.md, https://github.com/fangpenlin/avataaars/blob/master/LICENSE, https://github.com/fangpenlin/avataaars/blob/master/src/index.tsx, https://registry.npmjs.org/avataaars, https://react.dev/blog/2024/04/25/react-19-upgrade-guide, https://avataaars.com

### Mistakes to avoid
- Don't: Adding avataaars to a React 19 app → Do: Keep it in a React 17 or 18 app, or render the avatars to SVG files ahead of time and serve those (The component relies on childContextTypes and getChildContext, which React 19 removed.)
- Don't: Copying the README class example with "return" alone on its line and the JSX below it → Do: Wrap the JSX in parentheses, return ( <div>…</div> ), or use a function component (JavaScript ends the statement after a bare return, so the README example renders nothing.)
- Don't: Expecting a seed or name prop that makes a random avatar per user → Do: Store the chosen options per user, or pick them from a hash of the user ID (our demo recipe) (The component only draws the parts you pass; options come from the generator or your own code.)
- Don't: Leaving out avatarStyle → Do: Always pass avatarStyle='Circle' or avatarStyle='Transparent' (avatarStyle is the one required prop in the component's types.)

### Questions
- Can I use these avatars in a paid app? Yes. The generator says they are free for personal and commercial use, and the component is MIT licensed.
- Does it work with React 19? Not as is. Version 2.0.0 is built for React 17 and uses legacy context, which React 19 removed.
- Can I show just one part, like the mouth? Yes. The Piece component draws a single part, such as mouth, eyes, hair or clothes.
- How do I get the code for an avatar I designed? Build it in the online generator; it shows the matching React code with every setting filled in.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
