Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte-share-buttons-component

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-share-buttons-component

Simple Svelte based social media share buttons component with no tracking.

  • 1.0.14
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
336
increased by24.91%
Maintainers
1
Weekly downloads
 
Created
Source

svelte-share-buttons-component

npm-publish version

Simple Svelte based share buttons component with no tracking. Based on HTML shared buttons from https://github.com/mxstbr/sharingbuttons.io.

Installation

Using npm:

$ npm i --save svelte-share-buttons-component

Example

https://svelte-share-buttons-component-demo.netlify.app/

Usage

A basic demo app can be found at https://github.com/pchynoweth/svelte-share-buttons-component/tree/master/demo.

Basic usage from svelte looks like this:

<script>
	import { Email, Reddit, LinkedIn, Facebook, Twitter } from 'svelte-share-buttons-component';

	const url = 'example.com';
	const title = 'Demo page title';
</script>

<Email subject="Demo email title" body="Demo email body" />
<Reddit {title} {url} />
<LinkedIn {title} {url} summary="This is a summary" />
<Facebook {url} />
<Twitter text="{title}" {url} />

Keywords

FAQs

Package last updated on 24 May 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc