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

@tawk.to/tawk-messenger-react

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tawk.to/tawk-messenger-react

Official React plugin for Tawk messenger

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7.2K
decreased by-29.94%
Maintainers
2
Weekly downloads
 
Created
Source

Tawk React logo


Features

  • Using React Hooks
  • Documented and self-explaining methods
  • Small size without any external libraries
  • All Javascript API methods are available
  • Maintained by the tawk.to team.

Installation

The plugins are available from the node and yarn package managers.

# Node
npm install @tawk.to/tawk-messenger-react

# Yarn
yarn add @tawk.to/tawk-messenger-react

Quickstart

Import tawk-messenger-react into the App.js file of your src/ folder. The propertyId and widgetId will be found on your tawk Dashboard.

Log in to your account and go to Administration > Channels > Chat Widget.

When using the API, you will need to use the useRef to access the object functions from the tawk-messenger-react component.

import TawkMessengerReact from '@tawk.to/tawk-messenger-react';

function App() {
    return (
        <div className="App">
            <TawkMessengerReact
                propertyId="property_id"
                widgetId="default"/>
        </div>
    );
}

Documentation

This project includes a docs folder with more details on the following:

  1. How to Use
  2. API Reference

Other JS frameworks we support


Frequently Asked Questions

Do you have a knowledge base or article to support implementation?

Here is our guide for the React.js integration

Where can I find more information and support?

Visit our help center or reach out in the chat on our website. Our agents are available to assist you 24/7.

Where can I submit a suggestion or report a bug?

Check to see if the issue already exists. If not, open a new issue in the Issues tab

Keywords

FAQs

Package last updated on 24 May 2023

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