Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
vue-initials-placeholder
Advanced tools
A Vue component that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo
A vue component that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo.
# yarn
yarn add vue-initials-placeholder
# npm
npm i --save vue-initials-placeholder
<script>
import VueInitialsPlaceholder from 'vue-initials-placeholder.vue'
export default {
components: {
VueInitialsPlaceholder
}
}
</script>
<template>
<div>
<VueInitialsPlaceholder value="Emmanuel Raymond"/>
</div>
</template>
Name | Type | Default | Description | Required |
---|---|---|---|---|
value | String | null | The name you want to parse as placeholder | true |
bgColor | String | #4285F4 | Background color - [color name, rgb or hex] | false |
size | String | 40 | The width and height of the container that contains the initials in px | false |
textColor | String | #fff | Text color of the initials - [color name, rgb or hex] | false |
fontSize | String | 18 | Font size of the initials in px | false |
This package was inspired by Initials-placeholder-react
If you would like to report bugs or request a feature, please create a new issue.
If you'd like to contribute to the code:
git checkout -b feature-name
git commit -am 'Some commit message'
git push origin feature-name
This project is released under the terms of the MIT License
FAQs
A Vue component that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo
The npm package vue-initials-placeholder receives a total of 1 weekly downloads. As such, vue-initials-placeholder popularity was classified as not popular.
We found that vue-initials-placeholder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.