fangpenlin / avataaars

React component for avataaars
MIT License
792 stars 169 forks source link

Any suggestions on how to implement this in angular 9? #30

Open rachisalive opened 4 years ago

chrisco512 commented 4 years ago

If you iterate through the components in the source code, it's all SVG based, so could extract the SVG from https://github.com/fangpenlin/avataaars/blob/master/src/avatar/index.tsx and the rest of the components like Clothes, etc...you could copy / paste the svg into Angular components. There are some data binding and variables that you'll need to convert, but it's doable. I would start with getting that basic component above to render (remove all the children like Clothes, etc).

006parth commented 4 years ago

@rachisalive did you find anything to make it work in angular? or something else for create avatar in angular.