1.5.0 • Published 4 years ago

@vanillawc/wc-social-link v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Installation

Installation

npm i @vanillawc/wc-social-link

Import from NPM

<script type="module" src="node_modules/@vanillawc/wc-social-link/index.js"></script>

Import from CDN

<script type="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-social-link@1/index.js"></script>

Demo

Try it on WebComponents.dev

Usage

Attributes

  • network - the network type (ex twitter)
  • handle - the user handle/username
  • href - the link (optional)
  • title - the title/tooltip (optional) Custom Styles

Custom Styles

  • --width - width of the icon (default 32px)
  • --height - height of the icon (default 32px)
  • --color - the icon color (default black)

Basic Usage

Provide the name of the social network and your user handle

<wc-social-link network="github" handle="evanplaice"></wc-social-link>

Network Types

  • email
  • github
  • gitlab
  • linkedin
  • rss
  • stackoverflow
  • twitch
  • twitter

Note: For Stackoverflow, your USERID is your handle

Basic Usage w/ Custom Link

Alternatively, instead of providing a handle and relying on the built-in link you can just provide your own.

<wc-social-link network="github" href="https://github.com/evanplaice"></wc-social-link>

Contributing

See CONTRIBUTING.md

1.5.0

4 years ago

1.4.11

4 years ago

1.4.10

4 years ago

1.4.9

5 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.30

5 years ago

1.0.26

5 years ago

1.0.27

5 years ago

1.0.25

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.11

6 years ago

1.0.12

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-rc1

6 years ago

1.0.0-rc0

6 years ago