Share Buttons
Pinterest

πŸŽ€ Pinterest

πŸ‘¨β€πŸ’» Code

import {
  PinterestShareButton,
  PinterestIcon,
} from 'next-share'
 
<PinterestShareButton
  url={'https://github.com/next-share'}
  media={'next-share is a social share buttons for your next React apps.'}
>
  <PinterestIcon size={32} round />
</PinterestShareButton>

πŸ₯° Generate


πŸ“– PinterestShareButton Props

PropsTypeDefaultDescriptionRequired
childrennodeReact component, HTML element or string.βœ…
urlstringThe URL of the shared page.βœ…
mediastringThe image URL that will be pinned.βœ…
descriptionstringThe description of the shared media.❌
windowWidthnumber1000Opened window width.❌
windowHeightnumber730Opened window height.❌
blankTargetbooleanfalseOpen share window in a new tab if set to true.❌

πŸ“š LineIcon Props

PropsTypeDefaultDescriptionRequired
sizenumberIcon size in pixels.❌
roundbooleanShow round or rectangle.❌
borderRadiusnumberSet rounded corners if using round icon.❌
bgStyleobjectCustomize background style.❌
iconFillColorstringwhiteCustomize icon fill color.❌
blankTargetbooleanfalseOpen share window in a new tab if set to true.❌