Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 981 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 981 Bytes

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.