Gathering detailed insights and metrics for vue-boring-avatars
Gathering detailed insights and metrics for vue-boring-avatars
Gathering detailed insights and metrics for vue-boring-avatars
Gathering detailed insights and metrics for vue-boring-avatars
@third.chat/vue-boring-avatars
vue-boring-avatars is a Vue.js port of Boring Avatars, a JS library that generates custom, SVG-based avatars from any username and color palette.
@powerbull/boring-avatars-vue
Boring avatars is a tiny JavaScript Vue library that generates custom, SVG-based, round avatars from any username and color palette.
A Vue.js port of Boring Avatars, a JS library that generates custom, SVG-based avatars from any username and color palette.
npm install vue-boring-avatars
Typescript
Module System
Node Version
NPM Version
Vue (57.73%)
TypeScript (38.51%)
JavaScript (3.04%)
HTML (0.72%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
120 Stars
35 Commits
6 Forks
2 Watchers
1 Branches
1 Contributors
Updated on May 18, 2025
Latest Version
1.4.0
Package Id
vue-boring-avatars@1.4.0
Unpacked Size
59.21 kB
Size
10.98 kB
File Count
6
NPM Version
10.2.4
Node Version
20.10.0
Published on
Dec 12, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
27
vue-boring-avatars
is a Vue 3 port of Boring Avatars, a JS library that generates custom, SVG-based avatars from any username and color palette.
NPM:
1pnpm i vue-boring-avatars 2# or 3yarn add vue-boring-avatars 4# or 5npm install vue-boring-avatars
CDN:
1<!-- ESM version --> 2<script type="module"> 3 import Avatar from "https://unpkg.com/vue-boring-avatars/dist/vue-boring-avatars.js"; 4</script> 5 6<!-- UMD version --> 7<script src="https://unpkg.com/vue-boring-avatars/dist/vue-boring-avatars.umd.cjs"></script>
Props:
size
: number
40
square
: boolean
false
title
: boolean
false
<title>
element or not.name
: string
"Clara Barton"
<title>
element if title
is true
.variant
: string
"bauhaus", "beam", "marble", "pixel", "ring", "sunset"
."marble"
colors
: string[]
["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"]
id
: string
Basic usage (with default props):
1<template> 2 <Avatar /> 3</template> 4 5<script> 6import Avatar from "vue-boring-avatars"; 7 8export default { 9 components: { 10 Avatar, 11 }, 12}; 13</script>
Basic usage with <script setup>
(with default props):
1<script setup> 2import Avatar from "vue-boring-avatars"; 3</script> 4 5<template> 6 <Avatar /> 7</template>
With props:
1<template> 2 <Avatar :size="80" variant="bauhaus" name="Mujahid Anuar" :colors="colors" /> 3</template> 4 5<script> 6import Avatar from "vue-boring-avatars"; 7 8export default { 9 data() { 10 return { 11 colors: ["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"], 12 }; 13 }, 14 components: { 15 Avatar, 16 }, 17}; 18</script>
With Composition API:
1<template> 2 <input type="text" v-model="name" /> 3 <input type="number" v-model.number="size" /> 4 5 <Avatar :size="size" variant="bauhaus" :name="name" /> 6 <Avatar 7 :size="size" 8 variant="beam" 9 :name="name" 10 :square="true" 11 :title="true" 12 /> 13 <Avatar :size="size" variant="marble" :name="name" /> 14 <Avatar 15 :size="size" 16 variant="pixel" 17 :name="name" 18 :square="true" 19 :title="true" 20 /> 21 <Avatar :size="size" variant="ring" :name="name" /> 22 <Avatar 23 :size="size" 24 variant="sunset" 25 :name="name" 26 :square="true" 27 :title="true" 28 /> 29</template> 30 31<script lang="ts"> 32import { defineComponent, ref } from "vue"; 33import Avatar from "vue-boring-avatars"; 34 35export default defineComponent({ 36 name: "App", 37 setup() { 38 const name = ref("Clara Barton"); 39 const size = ref(80); 40 41 return { 42 name, 43 size, 44 }; 45 }, 46 components: { 47 Avatar, 48 }, 49}); 50</script>
1pnpm i # install packages 2pnpm dev # launch in browser 3pnpm test # run tests (download react-boring-avatars, lint, type check, then run tests) 4pnpm build # build the dist
Credits to @hihayk (GitHub) and @josep_martins (GitHub) for creating the original Boring Avatars library at boringdesigners!
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More