boringdesigners/boring-avatars ? reverse-engineered prompt
Reverse engineered prompt
Build me a small React library that generates simple SVG avatar placeholders from a person’s name, email, or any random string.
I want it to work like this, I import one Avatar component and pass a name, then it renders a unique looking avatar every time for that input. Let it support a few different styles like marble, beam, pixel, sunset, ring, and bauhaus, plus options for size, square shape, and a custom color palette. The avatar should be lightweight, reusable, and easy to drop into any app.
Please make the defaults sensible, include a clean README with examples, and set it up so it can be installed from npm and used right away in a React project. If you need to check current docs or best practices for the build setup, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit