Description
blobatar makes a deterministic geometric avatar from any string, such as a username, a display name, an email or an id. The same input always produces the same blob, so it works as a fallback picture for users who have not uploaded one, and people can be recognised across a thread or a sidebar. The library is MIT licensed, has no dependencies and is about 4.4 KB gzipped for the blob alone. You install the blobatar package and the React component, pass a name, and optionally set an animation such as hover. Without the animate prop, it renders as a single image. An editor lets you tune each trait of the blob, and the site describes 10 silhouettes and colours chosen to keep 4.5:1 contrast. A wall on the site collects blobatars that visitors have made. The project is also offered as an endpoint, so software can request an avatar for a string without anyone uploading a picture. The code is on GitHub and npm, and the site has docs, a components page and an llms.txt file. It suits developers who need avatars for users without photos.…
Highlights
- Geometric avatar from any name or string
- React component that takes a name prop
- No dependencies, about 4.4 KB gzipped
- Editor to tune every trait
- MIT licensed, on GitHub and npm
Ratings & Reviews
No ratings yet
Be the first to rate blobatar.
People also visit
blobatar FAQ
What is blobatar?
A library and endpoint that turn any string into the same geometric face every time, for use as an avatar.
How do I use it?
Install the blobatar packages with bun, npm or pnpm, then render the React component with a name prop.
Do I need to store pictures?
No. The same string always gives the same avatar, so nothing has to be uploaded or stored about the person.
What license is it under?
MIT. The site says the library is MIT licensed.
What are the best blobatar alternatives?
Popular alternatives to blobatar include blobatar, react-avatar and react-gravatar. See all blobatar alternatives


