Gathering detailed insights and metrics for dv-social-share
Gathering detailed insights and metrics for dv-social-share
Social media share buttons for your next React.js, Next.js apps.
npm install dv-social-share
Typescript
Module System
Min. Node Version
Node Version
NPM Version
67.9
Supply Chain
98.6
Quality
76.6
Maintenance
100
Vulnerability
100
License
TypeScript (99.68%)
JavaScript (0.32%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
4,059
Last Day
2
Last Week
52
Last Month
644
Last Year
2,438
10 Stars
90 Commits
2 Watching
2 Branches
3 Contributors
Minified
Minified + Gzipped
Latest Version
0.0.7
Package Id
dv-social-share@0.0.7
Unpacked Size
607.96 kB
Size
375.01 kB
File Count
70
NPM Version
10.2.3
Node Version
20.10.0
Publised On
22 Feb 2024
Cumulative downloads
Total Downloads
Last day
-77.8%
2
Compared to previous day
Last week
33.3%
52
Compared to previous week
Last month
550.5%
644
Compared to previous month
Last year
50.4%
2,438
Compared to previous year
1
26
Social media share buttons for your next React.js, Next.js apps.
to View Demo, please Click here
dv-social-share is available on npm. It can be installed with the either following command:
1npm install dv-social-share --save
or
1yarn add dv-social-share --save
1import { BufferShareBtn } from 'dv-social-share' 2 3<BufferShareBtn url="https://dv-social-share.vercel.app" title="Dhaval Vira" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | the Title to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { DiggShareBtn } from 'dv-social-share' 2 3<DiggShareBtn url="https://dv-social-share.vercel.app" title="Dhaval Vira" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | the Title to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { EmailShareBtn } from 'dv-social-share' 2 3<EmailShareBtn url="https://dv-social-share.vercel.app" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
subject | string | A subject to be shared. | ❌ | |
body | string | Body to be shared. | ❌ | |
separator | string | :: | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { FBMessangerShareBtn } from 'dv-social-share' 2 3<FBMessangerShareBtn url="https://dv-social-share.vercel.app" appId="" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
appId | string | Facebook application id. | ✅ | |
redirectUri | string | The URL to redirect to after sharing (default: the shared url). | ❌ | |
to | string | A user ID of a recipient. Once the dialog comes up, the sender can specify additional people as recipients. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { FBShareBtn } from 'dv-social-share' 2 3<FBShareBtn url="https://dv-social-share.vercel.app" quote="dv-social-share is a social share buttons for your next React.js & Next.js apps." hashTag="#dvsocialshare" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
quote | string | A quote to be shared. | ❌ | |
hashTag | string | Hashtag to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { FlipboardShareBtn } from 'dv-social-share' 2 3<FlipboardShareBtn url="https://dv-social-share.vercel.app" title="Dhaval Vira" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | the Title to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { GABShareBtn } from 'dv-social-share' 2 3<GABShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | Title of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { HackerNewsShareBtn } from 'dv-social-share' 2 3<HackerNewsShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | Title of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { InstapaperShareBtn } from 'dv-social-share' 2 3<InstapaperShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | Title of the shared page. | ❌ | |
description | string | Description to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { LineShareBtn } from 'dv-social-share' 2 3<LineShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | Title of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { LinkedInShareBtn } from 'dv-social-share' 2 3<LinkedInShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | Title of the shared page. | ❌ | |
summary | string | Summary of the shared page. | ❌ | |
source | string | Source of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { LiveJournalShareBtn } from 'dv-social-share' 2 3<LiveJournalShareBtn url="https://dv-social-share.vercel.app" title="Dhaval Vira" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the page to be shared. | ✅ | |
title | string | the Title to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { PinboardShareBtn } from 'dv-social-share' 2 3<PinboardShareBtn url="https://dv-social-share.vercel.app" title="Dhaval Vira" descriptin="descriptino to be shared" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
title | string | The Title of the Page to be shared. | ✅ | |
description | string | The description to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { PinterestShareBtn } from 'dv-social-share' 2 3<PinterestShareBtn url="https://dv-social-share.vercel.app" media="https://dv-social-share.vercel.app/image.svg" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
media | string | The image URL that will be pinned. | ✅ | |
description | string | The description of the shared media. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { PocketShareBtn } from 'dv-social-share' 2 3<PocketShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
title | string | Title of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { RedditShareBtn } from 'dv-social-share' 2 3<RedditShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
title | string | Title of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { RefindShareBtn } from 'dv-social-share' 2 3<RefindShareBtn url="https://dv-social-share.vercel.app" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { SkypeShareBtn } from 'dv-social-share' 2 3<SkypeShareBtn url="https://dv-social-share.vercel.app" title='Dhaval" />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
title | string | The title to be shared. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { TelegramShareBtn } from 'dv-social-share' 2 3<TelegramShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
title | string | Title of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { TrelloShareBtn } from 'dv-social-share' 2 3<TrelloShareBtn url="https://dv-social-share.vercel.app" desc="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
desc | string | Description of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { ThreadsShareBtn } from 'dv-social-share' 2 3<ThreadsShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the to be page. | ✅ | |
title | string | Description of the shared page. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { TumblrShareBtn } from 'dv-social-share' 2 3<TumblrShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the shared page to be shared. | ✅ | |
title | string | The title of the shared page. | ❌ | |
tags | Array | ❌ | ||
caption | string | The description of the shared page. | ❌ | |
posttype | string | link | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { TwitterShareBtn } from 'dv-social-share' 2 3<TwitterShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the shared page to be shared. | ✅ | |
title | string | The title of the shared page. | ❌ | |
via | string | ❌ | ||
hashtags | array | ❌ | ||
related | array | ❌ | ||
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { VKShareBtn } from 'dv-social-share' 2 3<VKShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the shared pageto be shared. | ✅ | |
title | string | The title of the shared page. | ❌ | |
image | string | An absolute link to the image that will be shared. | ❌ | |
noParse | boolean | If true is passed, VK will not retrieve URL information. | ❌ | |
noVkLinks | boolean | If true is passed, there will be no links to the user's profile in the open window. Only for mobile devices. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { WhatsAppShareBtn } from 'dv-social-share' 2 3<WhatsAppShareBtn url="https://dv-social-share.vercel.app" title="dv-social-share is a social share buttons for your next React.js & Next.js apps." />
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the shared page to be shared. | ✅ | |
title | string | The title of the shared page. | ❌ | |
separator | string | ❌ | ||
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
1import { YummlyShareBtn } from 'dv-social-share' 2 3<YummlyShareBtn 4 url="https://dv-social-share.vercel.app" 5 title="dv-social-share is a social share buttons for your next React.js & Next.js apps." 6 image='url-of-image' 7/>
Props | Type | Default | Description | Required |
---|---|---|---|---|
url | string | The URL of the shared page to be shared. | ✅ | |
title | string | The title of the shared page. | ❌ | |
image | string | The Link of the Image to be shared along. | ❌ | |
openInNewTab | boolean | false | Open share window in a new tab if set to true . | ❌ |
imgConfig | object | A imgConfig contains width (number; e.g. 32/64), height (number; e.g. 32/64) & bgColor (string; e.g. '#FF0000') for the Image | ❌ |
If you think any of the dv-social-share
can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this
repository to revisit.
We'd love to have your helping hand on contributions to dv-social-share
by forking and sending a pull request!
Your contributions are welcome.
How to contribute:
dv-social-share
Repomain
No vulnerabilities found.
No security vulnerabilities found.