# b-blocks/2.0.39/build/whatsapp-chat/block.json

bBlocks – Essential Gutenberg Blocks &amp; Patterns Collection, version 2.0.39. 131 lines.

- Page: https://pluginprobe.com/plugins/b-blocks/2.0.39/code/build/whatsapp-chat/block.json
- Raw: https://pluginprobe.com/plugins/b-blocks/2.0.39/raw/build/whatsapp-chat/block.json
- Modified: 2026-04-27T12:46:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/b-blocks/2.0.39/code/build/whatsapp-chat/block.json#L10-L20`.

```json
{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "b-blocks/whatsapp-chat",
  "version": "0.1.0",
  "title": "WhatsApp Chat Block",
  "category": "b-blocks",
  "description": "Add a fully customizable WhatsApp Chat button to turn visitor hesitation into customer confidence.",
  "example": {
    "attributes": {
      "phoneNumber": "",
      "buttonText": "Chat on WhatsApp",
      "prefillMessage": "Hi! I have a question about your product.",
      "showIcon": true,
      "showStatusDot": true,
      "buttonSize": "medium",
      "borderRadius": 50,
      "backgroundColor": "#25D366",
      "textColor": "#ffffff",
      "hoverAnimation": true,
      "tooltipText": "We typically reply within minutes",
      "openInNewTab": true,
      "fullWidth": false,
      "alignment": "center"
    }
  },
  "attributes": {
    "align": {
      "type": "string",
      "default": ""
    },
    "phoneNumber": {
      "type": "string",
      "default": ""
    },
    "buttonText": {
      "type": "string",
      "default": "Chat on WhatsApp"
    },
    "prefillMessage": {
      "type": "string",
      "default": ""
    },
    "showIcon": {
      "type": "boolean",
      "default": true
    },
    "showStatusDot": {
      "type": "boolean",
      "default": true
    },
    "tooltipText": {
      "type": "string",
      "default": ""
    },
    "buttonSize": {
      "type": "string",
      "default": "medium"
    },
    "borderRadius": {
      "type": "number",
      "default": 50
    },
    "backgroundColor": {
      "type": "string",
      "default": "#25D366"
    },
    "textColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "hoverAnimation": {
      "type": "boolean",
      "default": true
    },
    "openInNewTab": {
      "type": "boolean",
      "default": true
    },
    "fullWidth": {
      "type": "boolean",
      "default": false
    },
    "alignment": {
      "type": "string",
      "default": "center"
    },
    "iconPosition": {
      "type": "string",
      "default": "left"
    },
    "shadow": {
      "type": "boolean",
      "default": true
    },
    "pulseAnimation": {
      "type": "boolean",
      "default": false
    },
    "padding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": ""
      }
    },
    "margin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": ""
      }
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "textdomain": "b-blocks",
  "editorScript": "file:../index.js",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}
```
