Business · Gutenberg
FAQ Chat block for WordPress
Chat-bubble style FAQ. Visitors click questions to reveal bot-style answers with a typing indicator — a conversational alternative to accordion FAQ.
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.
What it actually does
Chat-bubble style FAQ. Visitors click questions to reveal bot-style answers with a typing indicator — a conversational alternative to accordion FAQ.
Inspector panels on this block: FAQ Items, Bot & Greeting, Appearance. Those titles come from index.js, not from a shared template.
Behavior controls: “Chat style” options: Rounded, Bubble, Sharp.
Where to find it
Gutenberg inserter → Business → search “FAQ Chat” (block name `blockenberg/faq-chat` in block.json). Style it in the sidebar after insert.
How to use FAQ Chat block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “FAQ Chat”, insert it. Category: Business.
- Configure inspector controls that exist on this block. Open FAQ Items. Set “Question”, “Bot name”, “Bot avatar (emoji or initials)”, “Show message timestamps”.
- Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Question | Text field in the inspector. |
| Bot name | Text field in the inspector. block.json default: Support Bot. Saved as `botName`. |
| Bot avatar (emoji or initials) | Text field in the inspector. block.json default: 🤖. Saved as `botAvatar`. |
| Show message timestamps | On/off toggle in the inspector. On by default. Saved as `showTimestamp`. |
| Typing delay (ms) | Numeric range control in the inspector. Range 200–2500. block.json default: 700. Saved as `typingDelay`. |
| Chat style | Select control; the chosen value is saved on the block. Options: Rounded; Bubble; Sharp. block.json default: rounded. Saved as `chatStyle`. |
| Max width (px) | Numeric range control in the inspector. Range 300–900. block.json default: 620. Saved as `maxWidth`. |
| Chat area max height (px) | Numeric range control in the inspector. Range 200–800. block.json default: 500. Saved as `maxHeight`. |
| Border radius (px) | Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `borderRadius`. |
| Header background | Color control in the inspector. block.json default: #6366f1. Saved as `headerBg`. |
| Header text | Color control in the inspector. block.json default: #ffffff. Saved as `headerColor`. |
| Avatar background | Color control in the inspector. block.json default: #6366f1. Saved as `avatarBg`. |
| Chat area background | Color control in the inspector. block.json default: #f1f5f9. Saved as `chatBg`. |
| Bot bubble background | Color control in the inspector. block.json default: #ffffff. Saved as `botBubbleBg`. |
| Bot bubble text | Color control in the inspector. block.json default: #1f2937. Saved as `botBubbleColor`. |
| User bubble background | Color control in the inspector. block.json default: #6366f1. Saved as `userBubbleBg`. |
| User bubble text | Color control in the inspector. block.json default: #ffffff. Saved as `userBubbleColor`. |
| Questions area background | Color control in the inspector. block.json default: #ffffff. Saved as `questionsBg`. |
| Question button background | Color control in the inspector. block.json default: #f3f4f6. Saved as `btnBg`. |
| Question button text | Color control in the inspector. block.json default: #374151. Saved as `btnColor`. |
| Question button border | Color control in the inspector. block.json default: #e5e7eb. Saved as `btnBorder`. |
| Answered button background | Color control in the inspector. block.json default: #e0e7ff. Saved as `btnActiveBg`. |
| Answered button text | Color control in the inspector. block.json default: #4338ca. Saved as `btnActiveColor`. |
| Widget border | Color control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`. |
| Timestamp color | Color control in the inspector. block.json default: #9ca3af. Saved as `timestampColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts, data-rendered.
When this is the right block
- Chat-bubble style FAQ. Visitors click questions to reveal bot-style answers with a typing indicator — a conversational alternative to accordion FAQ — that is the job of FAQ Chat, not a generic content block.
- Use it when you need the editor control labeled “Question”, which exists on this block’s inspector.
- It matches pages about faq, chat, question.
- Inserter grouping: company, service, and operations pages.
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 FAQ Chat block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “FAQ Chat”. It sits under Business. After insert, open FAQ Items and set “Question”, “Bot name”, “Bot avatar (emoji or initials)”, “Show message timestamps”.
What makes FAQ Chat different from other Blockenberg blocks?
Chat-bubble style FAQ. Visitors click questions to reveal bot-style answers with a typing indicator — a conversational alternative to accordion FAQ. Inspector labels on this block include “Question”, “Bot name”, “Bot avatar (emoji or initials)”, “Show message timestamps”.
Is the FAQ Chat Gutenberg block free?
Yes. FAQ Chat ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style FAQ Chat 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: FAQ Items, Bot & Greeting, Appearance).
Related business blocks
FAQ Categories
Categorized FAQ with a sidebar (or top tab bar) category navigator and an accordion for each category. Ideal for comprehensive help centers and support pages.
FAQ Section
Complete FAQ landing-page section with styled section header, inline accordion items, multiple layout variants, and a bottom contact CTA. Different from FAQ Schema (SEO) and FAQ Categories (search UI).
FAQ Accordion
FAQ section with smooth accordion expand/collapse, rich typography, and schema.org markup support.
FAQ Grid
Display frequently asked questions as a scannable card grid — ideal for pricing pages and knowledge bases.
FAQ Schema
FAQ block with automatic FAQPage JSON-LD structured data for SEO rich snippets.
About Section
Ready-made About Us section with split image/video + text layout, optional company stats row, badge label, CTA buttons, and full background/color controls.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert FAQ Chat from the Gutenberg inserter.