@antoinekahlouche/avataaars
v0.1.3
Published
Vue.js component for avataaars
Downloads
4
Maintainers
Readme
Vue.js component for Avataaars
The Vue.js component is based on the Sketch library Avataaars designed by Pablo Stanley.
This has been derivated from fangpenlin/avataaars, so if you need the React component : go check it out !!
Usage
First, you need to install the avataaars component package, here you run
npm install @antoinekahlouche/avataaars --save
Second import the Avataaar component
import Avatar from "@antoinekahlouche/avataaars"
<Avatar
avatarStyle="Circle"
topType="LongHairMiaWallace"
accessoriesType="Prescription02"
hairColor="BrownDark"
facialHairType="Blank"
clotheType="Hoodie"
clotheColor="PastelBlue"
eyeType="Happy"
eyebrowType="Default"
mouthType="Smile"
skinColor="Light"
/>