Add-on Directory

← Back

Whatsapp Button Add-on

Button component to easily start whatsapp conversations.

Author

Contributors

Rating

Popularity

100+

A simple button component to start Whatsapp conversations easily. It's based on @flowingcode/fc-whatsapp-button web component.

Features

  • Set custom label
  • Set custom message text
  • Set dial code & phone number
  • Possibility to share an invite code
  • Possibility to show icon on leading or trailing position (trailing by default)
  • Set redirect
  • Show dialog on click
  • Make responsive

Found a bug or have a suggestion? Report it on GitHub

For bug reports, feature suggestions, or questions, please open an issue on GitHub. This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!

Sample code

WhatsappButton whatsappButton = new WhatsappButton();
whatsappButton.setLabel("Contact Us");
whatsappButton.setDialCode("342");
whatsappButton.setPhone("123456789");
whatsappButton.setLeadingIcon(true);
whatsappButton.setText("Hi, how can I help you?");
add(whatsappButton);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

New features:

  • New version compatible with vaadin 24.4 (#14)
Released
2024-07-22
Maturity
TESTED
License
Apache License 2.0

Compatibility

Framework
Vaadin 24.4
Vaadin 24.3 in 1.0.1
Vaadin 24.2 in 1.0.1
Vaadin 24.1 in 1.0.1
Vaadin 23 in 1.0.1
Browser
N/A

Whatsapp Button Add-on - Vaadin Add-on Directory

Button component to easily start whatsapp conversations. Whatsapp Button Add-on - Vaadin Add-on Directory
A simple button component to start Whatsapp conversations easily. It's based on [@flowingcode/fc-whatsapp-button web component](https://github.com/FlowingCode/fc-whatsapp-button). #### Features - Set custom label - Set custom message text - Set dial code & phone number - Possibility to share an invite code - Possibility to show icon on leading or trailing position (trailing by default) - Set redirect - Show dialog on click - Make responsive #### Found a bug or have a suggestion? Report it on GitHub For bug reports, feature suggestions, or questions, please open an issue on [GitHub](https://github.com/FlowingCode/WhatsappButton/issues). This makes it easier for us to track and respond efficiently, ensuring you get the best possible support. Your input helps us improve—thank you!
Online Demo
Author Homepage
View on GitHub
Issue tracker
Web Component

Whatsapp Button Add-on version 1.0.0
Initial release

Whatsapp Button Add-on version 1.0.1
Update web component version to 1.0.3.

Whatsapp Button Add-on version 2.0.0
#### New features: * New version compatible with vaadin 24.4 ([#14](https://github.com/FlowingCode/WhatsappButton/issues/14))

Online