eliep / vue-avatar

An avatar component for vue.js

Home Page:https://eliep.github.io/vue-avatar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

more shapes

michaelsogos opened this issue · comments

Hi,

Can you also add more shape like:

  • square rounded
  • hexagon
  • pentagon
  • rhombus

Message for anyone also interested on this:

Please share some thoughts on this (implementations and valid uses cases)

Seems like this would be out of scope. If you decide to be the first person in the world that uses a rhombus shape for your avatars, you could always add an '.avatar-rhombus' class to it via the customStyling prop and then create your rhombus (or pentagon, or hexagon) shape via that css class in your stylesheet. I am not sure it needs to be hardcoded into the codebase.

I could see rounded square however, that one makes sense and is fairly common. But again, that can be done with css.