vue-creator-preview

Creator Preview for VueJS 2+
4,019
Install
npm install vue-creator-preview
Latest Version:1.3.1
Vue:2
License:MIT
Last Updated:Jun 19, 2021
Links: npm
Maintainer: gobienan

vue-creator-preview

npm version install size npm downloads

Introduction

A preview component of the creator with more information on hover. Checkout the Demo here.

Installation

Install using npm
# install it via npm
npm install vue-creator-preview --save
Install using yarn
# install it via yarn
yarn add vue-creator-preview

Usage

<template>
  <div class="Footer">
    <span>
      Crafted for people who love to keep things simple.
    </span>
    <span>
      A product by
      <a href="https://gobienan.com" target="_blank">
        <creator-preview
          :avatar="avatar"
          :name="name"
          :description="description"
          :content="content"
        />
      </a>
    </span>
  </div>
</template>

<script>
import CreatorPreview from 'vue-creator-preview.vue';
export default {
  components: {
      CreatorPreview
  },
  data() {
    return {
      avatar: 'https://pbs.twimg.com/profile_images/1375758751450415104/hV9bKmvf_400x400.jpg',
      name: `Gobie Nanthakumar`,
      description: `Engineer with a passion for UI design`,
      content: `Hey, I am Gobie πŸ‘‹<br/>
If you don’t know me, I love to create products with great UI ;)<br/><br/>
Click on the link to visit my website πŸ‘‡πŸΎ`,
    };
  },
};
</script>

Options

Below are the options you can pass to the preview

Option Type Default Description
avatar String 'https://source.boringavatars.com/beam/90/' URL of the avatar image you want to get displayed
name String / HTML 'Creator' Name of the Creator
description String / HTML 'Developer, Founder' Short description displayed below the name
content String / HTML '' 'Content with additional information about the creator'
mode String 'light' 'switch between dark and light mode'

License

MIT

Version History

Version Released Vue License
1.3.1 2.6.12 MIT
1.3.0 2.6.12 MIT
1.2.0 2.6.12 MIT
1.1.1 2.6.12 MIT
1.1.0 2.6.12 MIT