Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stonega/vue2-boring-avatars
https://github.com/stonega/vue2-boring-avatars
vue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stonega/vue2-boring-avatars
- Owner: stonega
- Created: 2021-05-29T16:27:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-25T15:06:05.000Z (over 2 years ago)
- Last Synced: 2024-09-20T04:49:01.176Z (4 months ago)
- Topics: vue
- Language: Vue
- Homepage: https://boring-avatars.netlify.app/
- Size: 372 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue2-boring-avatars
Vue port of [Boring Avatars](https://github.com/boringdesigners/boring-avatars)
## Install
```
yarn add vue2-boring-avatars
```
```
npm i vue2-boring-avatars
```## Usage
```
import Avatar from 'vue2-boring-avatars'
```
``````
## 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](https://github.com/boringdesigners/boring-avatars) library.