@antoinekahlouche/avataaars

0.1.3 • Public • Published

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"
/>

Readme

Keywords

Package Sidebar

Install

npm i @antoinekahlouche/avataaars

Weekly Downloads

3

Version

0.1.3

License

MIT

Unpacked Size

5.22 MB

Total Files

137

Last publish

Collaborators

  • antoinekahlouche