Skip to content

asaddon/WhatsApp

 
 

Repository files navigation

WhatsApp Chat widget for websites

For Full Animation Preview see Demo: https://asaddon.github.io/WhatsApp/

Screenshot 2025-01-26 at 4 00 34 AM

Instructions

  • Download WhatsappChatBox.min.js from here.

  • Add the file to your header <script src="WhatsappChatBox.min.js"></script>

  • Or directly embed it via <script src="https://cdn.jsdelivr.net/gh/asaddon/WhatsApp@refs/heads/main/dist/WhatsAppChatBox.min.js)"></script>

  • Initiate with the configuration Configure with your settings

  new WAChatBox({
     link: "https://wa.me/123456789",
                        user: {
                            name: "My Company",
                            avatar: "https://randomuser.me/api/portraits/women/66.jpg",
                            status: "Typically replies within few hours!"
                        },
                        chat_name: "Sales", 
                        text: "Hey There 👋<br>Let's talk to get a Price Quote!",
                        tooltipText: "Hi, I am here to assist you!",
                        tooltipTimeout: 15000,
  });

About

A Simple Whatsapp Widget for your Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 57.2%
  • CSS 39.9%
  • HTML 2.9%