Simple user card component
Easily implement into your projects, just copy "user-card.vue" into your project.
Mobile friendly.
External props passed to the component:
data() {
return{
user: {
name:"Bora Kucukkara",
country: "Turkey",
title: "UI Designer / Front-end Developer",
tags: ["UI/UX", "HTML", "CSS", "javaScript", "VueJS", "SASS", "JSON", "GIT"],
avatar: "https://i.pravatar.cc/"
}
}
}
<template >
<user-card :user-data="user" />
</template>
props: {
userData: {
type: Object,
}
},
UI Config CSS:
/* CARD SETTINGS */
--avatar-size: 7rem;
--user-card-size: 20rem;
--user-card-height: 30rem;
--card-bg: #2d2d2d;
--card-font-color:#cae5e5;
--card-accent-color: coral;
--card-radius: 1.5rem;
npm install
npm run serve
npm run build
npm run lint