Live data from Hacker News

Boring Avatars – React library to generate custom avatars

boringavatars.com

41–50 of 99 posts

Re: Boring Avatars – React library to generate custom avatars

#44

Why make a library dependent on a particular framework? Seems to just limit usefulness for no particular gain.

It creates SVGs using React[1], it would be nontrivial to support another view library with this design and if you're going to support only one at initial release React is probably the most popular bet. [1]: https://github.com/boringdesigners/boring-avatars/blob/maste...

So now you’re stuck always including React and always rendering your avatars dynamically on the client, even though it’s really just an SVG that is being generated.

Re: Boring Avatars – React library to generate custom avatars

#45

"Beam" should be the default style instead of "marble".

Faces for avatars are almost always better than other options. We humans are really good at recognising faces, even cartoony or abstract ones, which helps users remember other users by their avatars.

Some people are visually impaired or face-blind so this shouldn't be the sole means of identifying users, but for most of us, avatars are really important. There are people who I know from online fora that I haven't visited in years but I still remember exactly what their avatars looked like.

Re: Boring Avatars – React library to generate custom avatars

#46
They look cool but aren't avatars mainly used to uniquely identify someone based on a picture?

A lot of these look too similar. The really boring approach IMO is to choose a random solid color and put the user's initial(s) on top of it. This makes it pretty unique and much easier to associate someone back to their avatar.

Re: Boring Avatars – React library to generate custom avatars

#48
post #44

Earlier quoted context omitted.

It creates SVGs using React[1], it would be nontrivial to support another view library with this design and if you're going to support only one at initial release React is probably the most popular bet. [1]: https://github.com/boringdesigners/boring-avatars/blob/maste...

So now you’re stuck always including React and always rendering your avatars dynamically on the client, even though it’s really just an SVG that is being generated.

[deleted]

Re: Boring Avatars – React library to generate custom avatars

#50

Why make a library dependent on a particular framework? Seems to just limit usefulness for no particular gain.

If I create a library I would usually make it to solve my own usecase. And if you mainly work with react-apps, and your plan is to use it in an react app. Why not also make the library in react?

In this case, I guess the developer wanted to use JSX to create it. And you could ofc use JSX without React. But most people are used to using it in react-context, and plan to use it in an react-app anyway.

So to answer your question, in my eyes it would be. Why not? If the devs plan on using it in react-app anyway, it's not their job to make sure it supports everyone elses usecase.

Post reply on HN