Skip to content
On this page

Icon buttons

Introducing icon buttons, the simple and user-friendly solution for sharing blogs, pages, articles, products, and more. These buttons are designed to provide a seamless sharing experience with just a single click.

With icon buttons, you can add visually appealing icons representing popular social media platforms, such as Facebook, Twitter, Instagram, LinkedIn, and more. Each button is associated with a specific social media platform, allowing users to easily share your content on their preferred channels.


Usage

javascript
import {
  FacebookIcon,
  WhatsappIcon,
  TelegramIcon,
  TwitterIcon,
  LinkedInIcon,
  RedditIcon,
  PinterestIcon,
  TumblrIcon,
  PocketIcon,
  EmailIcon,
  CopyIcon
} from 'share-button-links/components/icons';

Facebook

html
<FacebookIcon
  title="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
titleStringEmptyThe title of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

WhatsApp

html
<WhatsappIcon
  message="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
messaseStringEmptyThe message of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Telegram

html
<TelegramIcon
  message="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
messaseStringEmptyThe message of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Twitter

html
<TwitterIcon
  message="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
title*StringEmptyThe message of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

LinkedIn

html
<LinkedInIcon
  url="..."
  isRounded
/>
PropTypeDefaultComment
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Reddit

html
<RedditIcon
  title="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
title*StringAdd titleThe title of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Pinterest

html
<PinterestIcon
  description="..."
  url="..."
  mediaUrl="..."
  isRounded
/>
PropTypeDefaultComment
description*StringAdd the descriptionThe description of the button/link.
mediaUrl*String#!The image of the button/link to share.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Tumblr

html
<TumblrIcon
  title="..."
  content="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
title*StringAdd titleThe title of the button/link.
url*String#!The url of the button/link to share.
content*StringAdd your contentThe content of the button/link.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Pocket

html
<PocketIcon
  title="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
title*StringAdd textThe title of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Email

html
<EmailIcon
  to="..."
  subject="..."
  content="..."
  url="..."
  isRounded
/>
PropTypeDefaultComment
toStringEmptyThe to (email) of the button/link.
subject*StringSubjectThe subject of the button/link.
content*StringAdd the contentThe content of the button/link.
url*String#!The url of the button/link to share.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.

Copy

html
<CopyIcon
  url="..."
  isRounded
/>
PropTypeDefaultComment
urlStringEmptyAdd the url if you want.
isRoundedBooleanfalseAdd little rounded corners.
isCircledBooleanfalseAdd full rounded corners.
isBorderedBooleanfalseAdd border to the buttons and remove.