Gathering detailed insights and metrics for @third.chat/vue-boring-avatars
Gathering detailed insights and metrics for @third.chat/vue-boring-avatars
Gathering detailed insights and metrics for @third.chat/vue-boring-avatars
Gathering detailed insights and metrics for @third.chat/vue-boring-avatars
A Vue.js port of Boring Avatars, a JS library that generates custom, SVG-based avatars from any username and color palette.
npm install @third.chat/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.1.3
Package Id
@third.chat/vue-boring-avatars@1.1.3
Unpacked Size
61.83 kB
Size
10.48 kB
File Count
5
NPM Version
8.5.5
Node Version
16.15.0
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
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:
1yarn add vue-boring-avatars 2 3# or 4 5npm install vue-boring-avatars
CDN:
1<!-- UMD version --> 2<script src="https://unpkg.com/vue-boring-avatars/dist/vue-boring-avatars.umd.js"></script> 3 4<!-- ESM version --> 5<script type="module"> 6 import Avatar from 'https://unpkg.com/vue-boring-avatars/dist/vue-boring-avatars.es.js' 7</script>
Props:
size
: number
40
square
: boolean
false
name
: string
"Clara Barton"
variant
: string
"bauhaus", "beam", "marble", "pixel", "ring", "sunset"
."marble"
colors
: string[]
["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"]
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 3 :size="80" 4 variant="bauhaus" 5 name="Mujahid Anuar" 6 :colors="colors" 7 /> 8</template> 9 10<script> 11import Avatar from "vue-boring-avatars"; 12 13export default { 14 data() { 15 return { 16 colors: ["#92A1C6", "#146A7C", "#F0AB3D", "#C271B4", "#C20D90"] 17 } 18 }, 19 components: { 20 Avatar, 21 }, 22}); 23</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 :size="size" variant="beam" :name="name" :square="true" /> 7 <Avatar :size="size" variant="marble" :name="name" /> 8 <Avatar :size="size" variant="pixel" :name="name" :square="true" /> 9 <Avatar :size="size" variant="ring" :name="name" /> 10 <Avatar :size="size" variant="sunset" :name="name" :square="true" /> 11</template> 12 13<script lang="ts"> 14import { defineComponent, ref } from "vue"; 15import Avatar from "vue-boring-avatars"; 16 17export default defineComponent({ 18 name: "App", 19 setup() { 20 const name = ref("Clara Barton"); 21 const size = ref(80); 22 23 return { 24 name, 25 size, 26 }; 27 }, 28 components: { 29 Avatar, 30 }, 31}); 32</script>
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
Found 0/20 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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-07-07
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