0.3.4 • Published 3 years ago
@schpnpls/vue2-boring-avatars v0.3.4
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 , pixel ,sunset , ring , bauhaus |
colors | array of colors |
Credit to original Boring Avatars library.