Vue port of Boring Avatars
yarn add vue2-boring-avatars
npm i vue2-boring-avatars
import Avatar from 'vue2-boring-avatars'
<avatar :variant="variant" :colors="colors" :name="name" />
yarn serve
| Prop | Type |
|---|---|
| size | number or string |
| name | string |
| variant | oneOf: marble, beam, pixels,sunset, ring, bauhaus |
| colors | array of colors |
| square | bool |
Credit to original Boring Avatars library.