vue2-boring-avatars
v0.3.8
Published
Vue2 port of boring avatars
Downloads
2,160
Readme
vue2-boring-avatars
Vue port of Boring Avatars
Install
yarn add vue2-boring-avatars
npm i vue2-boring-avatars
Usage
import Avatar from 'vue2-boring-avatars'
<avatar :variant="variant" :colors="colors" :name="name" />
Demo
yarn serve
Props
| 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.