0.1.15 • Published 3 years ago

@palazzinacreativa/social-contacts v0.1.15

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

social-contacts

Vue component to display social icons.

Installation

npm i @palazzinacreativa/social-contacts

or

yarn add npm i @palazzinacreativa/social-contacts

Then you can install your plugin globally with

...
import SocialContacts from '@palazzinacreativa/social-contacts'

Vue.use(SocialContacts)
...

or locally

...
import SocialContacts from '@palazzinacreativa/social-contacts'

export default {
  ...
  components: {
    SocialContacts
  },
  ...
}
...

Usage

You can simply use it as a component.

<SocialContacts :contacts="contacts" />

Options

ParameterRequiredTypeDefaultDescription
contactstrueObjectObject for your social links. Key is the social (kebab case), value is the url. Eg: { facebook: 'https://facebook.com/your-fb-url', instagram: 'https://instagram.com/your-ig-url' }
bg-colorString#ffffffBackgound color for social icon
icon-colorString#000000Color of the icon

Supported icons

facebook instagram linkedin pinterest twitter whatsapp youtube

To do

Social share

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.6

3 years ago