Skip to content

stonega/vue2-boring-avatars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.