Content · Gutenberg

Chat Bubbles block for WordPress

Decorative chat-conversation UI — perfect for testimonials in a messaging format, product walkthroughs, or dialogue-based storytelling.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Decorative chat-conversation UI — perfect for testimonials in a messaging format, product walkthroughs, or dialogue-based storytelling.

Inspector panels on this block: Chat Style, Messages. Those titles come from index.js, not from a shared template.

Behavior controls: “Style preset” options: Modern (rounded, colored right), Classic (minimal borders), Dark (dark background); “Side” options: Left, Right.

Where to find it

Gutenberg inserter → Content → search “Chat Bubbles” (block name `blockenberg/chat-bubble` in block.json). Style it in the sidebar after insert.

How to use Chat Bubbles block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Chat Bubbles”, insert it. Category: Content.
  3. Configure inspector controls that exist on this block. Open Chat Style. Set “Style preset”, “Max width (px)”, “Bubble border radius (px)”, “Container border radius (px)”.
  4. Check the published page. An IntersectionObserver starts work when the block enters the viewport. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Style presetSelect control; the chosen value is saved on the block. Options: Modern (rounded, colored right); Classic (minimal borders); Dark (dark background). block.json default: modern. Saved as `chatStyle`.
Max width (px)Numeric range control in the inspector. Range 280–900. block.json default: 560. Saved as `maxWidth`.
Bubble border radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 18. Saved as `bubbleRadius`.
Container border radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `containerRadius`.
Message gap (px)Numeric range control in the inspector. Range 4–40. block.json default: 12. Saved as `messageGap`.
Avatar size (px)Numeric range control in the inspector. Range 24–64. block.json default: 36. Saved as `avatarSize`.
Show avatarsOn/off toggle in the inspector. On by default. Saved as `showAvatars`.
Show sender namesOn/off toggle in the inspector. On by default. Saved as `showSenderName`.
Show timestampsOn/off toggle in the inspector. On by default. Saved as `showTimestamp`.
Typing indicator at endOn/off toggle in the inspector. On by default. Saved as `typingIndicator`.
Show container borderOn/off toggle in the inspector. On by default. Saved as `showBorder`.
Left bubble backgroundColor control in the inspector. block.json default: #f3f4f6. Saved as `leftBubbleBg`.
Left bubble textColor control in the inspector. block.json default: #111827. Saved as `leftBubbleColor`.
Right bubble backgroundColor control in the inspector. block.json default: #6c3fb5. Saved as `rightBubbleBg`.
Right bubble textColor control in the inspector. block.json default: #ffffff. Saved as `rightBubbleColor`.
Avatar backgroundColor control in the inspector. block.json default: #e5e7eb. Saved as `avatarBg`.
Chat container backgroundColor control in the inspector. block.json default: #ffffff. Saved as `chatBg`.
Timestamp colorColor control in the inspector. block.json default: #9ca3af. Saved as `timeColor`.
Container border colorColor control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`.
Section backgroundColor control in the inspector. Saved as `bgColor`.
Padding top (px)Numeric range control in the inspector. Range 0–200. block.json default: 32. Saved as `paddingTop`.
Padding bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 32. Saved as `paddingBottom`.
SideSelect control; the chosen value is saved on the block. Options: Left; Right.
Sender nameText field in the inspector.
Initials (fallback avatar)Text field in the inspector.
Message textMultiline text field in the inspector.
TimestampText field in the inspector.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Chat Bubbles block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Chat Bubbles”. It sits under Content. After insert, open Chat Style and set “Style preset”, “Max width (px)”, “Bubble border radius (px)”, “Container border radius (px)”.

What makes Chat Bubbles different from other Blockenberg blocks?

Decorative chat-conversation UI — perfect for testimonials in a messaging format, product walkthroughs, or dialogue-based storytelling. Inspector labels on this block include “Style preset”, “Max width (px)”, “Bubble border radius (px)”, “Container border radius (px)”.

Is the Chat Bubbles Gutenberg block free?

Yes. Chat Bubbles ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Chat Bubbles to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Chat Style, Messages).

Related content blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Chat Bubbles from the Gutenberg inserter.

Get Blockenberg