An open API service indexing awesome lists of open source software.

https://github.com/devmnj/vue-img-cards

A simple Vue library of Image Card components with awesome CSS animation
https://github.com/devmnj/vue-img-cards

css-animation vue vue-component-library vue-components vue-library

Last synced: 9 months ago
JSON representation

A simple Vue library of Image Card components with awesome CSS animation

Awesome Lists containing this project

README

          

vue-img-cards

[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![GitHub Issues](https://img.shields.io/github/issues/kylelobo/The-Documentation-Compendium.svg)](https://github.com/kylelobo/The-Documentation-Compendium/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/kylelobo/The-Documentation-Compendium.svg)](https://github.com/kylelobo/The-Documentation-Compendium/pulls)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)

---

Image card component library for Vue



## 📝 Table of Contents

- [📝 Table of Contents](#-table-of-contents)
- [🧐 About ](#-about-)
- [Installing the library](#installing-the-library)
- [🏁 Components ](#-components-)
- [vue-profile-Card](#vue-profile-card)
- [Props](#props)
- [Slot](#slot)
- [Usage](#usage)
- [vue-mini-bio](#vue-mini-bio)
- [slots](#slots)
- [Usage](#usage-1)
- [⛏️ Built Using ](#️-built-using-)

## 🧐 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

````bash
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](http://bulma-vuejs-profile.vercel.app/)

#### 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.

```javascript
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.

````javascript




Web Developer
















````

#### Usage

````javascript

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

````

### 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

````javascript

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

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



````

## ⛏️ Built Using

- [VueJs](https://vuejs.org/) - Web Framework
- [NodeJs](https://nodejs.org/en/) - Server Environment