DEV Community

Cover image for quick-avatar: Deterministic PNG avatars for your projects.
jQueryScript
jQueryScript

Posted on

quick-avatar: Deterministic PNG avatars for your projects.

quick-avatar: a JavaScript library that generates deterministic PNG avatars from any seed string. User IDs, emails, usernames, anything. Same seed, same avatar, every time.

Key features:

  • 5 built-in illustration sets (solid white, transparent, B&W)
  • Browser, React, Node.js, and SSR support
  • CDN mode for zero-bundle image delivery
  • TypeScript-first with full type exports
  • Self-hostable with a custom CDN base URL

Great for filling in placeholder avatars in apps where users haven't uploaded profile photos yet.

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Top comments (0)