Skip to main content
SendButton is specifically designed for sharing content via Facebook Messenger. For general sharing to Facebook, use ShareButton.

Overview

The SendButton component provides a native Facebook Messenger send button that allows users to send content via Messenger. This is different from the ShareButton which shares to Facebook feeds.

Import

Props

ShareContent
required
The content to be sent via Messenger. Can be ShareLinkContent, SharePhotoContent, or ShareVideoContent.See the ShareContent documentation for details on content types.
ViewStyle
Optional custom styling for the button. If not provided, uses default dimensions (30px height, 80px width).

Type Definition

Usage Examples

Basic Usage

Send a link via Messenger:

Custom Styling

Customize the button appearance:

Send Photo via Messenger

Default Styling

The SendButton has the following default dimensions:
  • Height: 30px
  • Width: 80px
You can override these with the style prop.

Platform Support

  • iOS: Supported
  • Android: Supported
The Facebook Messenger app must be installed on the device for the SendButton to work. If Messenger is not installed, the button may not function as expected.

Comparison with Other Buttons