New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@codehat/vue-img-cards

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codehat/vue-img-cards

A set of Vue image card components for special purposes

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
1
Created
Source

vue-img-cards

Status GitHub Issues GitHub Pull Requests License

Image card component library for Vue

## 📝 Table of Contents

🧐 About

This is a set of Vue Image card components for special purposes. Each components come with props and slots for easy customization. The CSS animation make it awesome, thanks to the developer community.

Installing the library

npm i --save @codehat/img-cards

🏁 Components

The library includes the following components

vue-profile-Card

VueProfileCard is a CSS animated Image Card with background animation.

Demo

Props

This component come with a single prop img, which can be used to pass a image url and an alt tag. This prop is an object.

img: {
      type: Object,
      default: new Object({
        src:
          "./profile.png",
        alt: "images",
      }),
    },

Slot

The slot details can be used to _add set of social icons or single paragraph or heading of your choice.

<template>
  <div id="app">
    <vue-profile-card >
     <template slot="details">
                  <h1 class="is-size-5">Web Developer</h1>
                  <span class="icon  ">
                <i>
                 <a :href="`${fb}`"> <v-icon name="md-facebook" scale="1.5" /></a>
                </i>
                <i>
                  <a :href="`${gh}`"> <v-icon name="oi-octoface" scale="1.5" /></a>
                </i>
                <i>
                  <a :href="`${tw}`"> <v-icon name="bi-twitter" scale="1.5"/></a>
                </i> <i>
                 <a :href="`${wp}`">  <v-icon name="fa-wordpress"  scale="1.5"/></a>
                </i></span>
      </template>
      </vue-profile-card>
  </div>
</template>

Usage

<script>
import VueProfileCard from '@manojap/vue-profile-card'
export default {
  name: "App",
  components: {
    VueProfileCard
  },
};
</script>

vue-mini-bio

VueMiniBio is a Image card with a Opening panel (hover effect) which can be used to show bio with social (customizable)

slots

img slot can be used to style the main image according to your needs and the *detail slot help to set the content

Usage

<script>
import {vueMiniBio} from '@codehat/vue-img-cards';
import Vue from 'vue';

export default Vue.extend({
  components: { vueMiniBio },
  name: 'App',
});
</script>

<template>
  <div id="app">
    <vue-mini-bio/>
  </div>
</template>

⛏️ Built Using

Keywords

vue-aniamation

FAQs

Package last updated on 14 Jul 2021

Did you know?

Socket

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.

Install

Related posts