Social & Sharing#315Verified Pro

Comments Box

Add a lightweight, XSS-safe comment box to any page or article with zero backend setup. Visitors can post plain-text comments, reply one level deep, sort newest or oldest, and delete their own entries—saved per page in browser storage with automatic in-memory fallback.

Customize Widget

Live preview active
Content5 options
Custom heading (defaults to localized 'Comments')
Placeholder text inside the comment field
Placeholder text inside the name field
Custom label for the post button
Maximum allowed length per comment
Layout7 options
Padding and spacing scale
Base font size
Horizontal alignment when width is constrained
Style9 options
Visual design preset
Color mode
Primary button and focus ring color
Card border radius in px
Card elevation depth
Outer border weight
Typography stack
Transition speed
Vector icon rendering style
Behavior5 options
Initial comment order
Localization2 options
UI language (auto reads host html lang)
Intl locale for dates (e.g. en-US, de-DE)
Advanced3 options
Custom thread key (defaults to page URL path)
Live Interactive Preview

Copy and paste this snippet anywhere before the closing </body> tag:

<script src="https://100widgets.com/js.php?id=315" async></script>

Place this container where you want the widget to render, plus the script tag:

<div data-widget="comments-box"></div>
<script src="https://100widgets.com/w/315.js" defer></script>

Step-by-Step Installation Guides

Need platform-specific instructions for embedding this widget? Read our quick step-by-step guides:

HTML / Any SiteWordPressShopifyWixSquarespaceWebflowGoogle Tag ManagerView All 18 Guides →

Key Features

Customizable Comments Box with 31+ configuration options
Self-contained vanilla JavaScript with zero external dependencies
Works in both Mode A (container) and Mode B (script tag) embed modes
Full keyboard navigation and screen-reader accessibility
Light and dark color mode support with auto-detection
Fully responsive on mobile, tablet, and desktop viewports

How to Install in 3 Easy Steps

1

Customize

Adjust the colors, position, and text above to match your website design and branding.

2

Copy Code

Click "Copy" on the generated embed code snippet. No installation or registration needed.

3

Paste & Publish

Paste the snippet into your HTML, WordPress, Shopify, Webflow, or Wix page.

Frequently Asked Questions

How do I add Comments Box to my website?

Simply copy the generated embed code snippet and paste it into your site HTML where you want the widget to appear.

Does this widget require jQuery or other libraries?

No, all 100Widgets components are completely standalone and have zero external dependencies.

Is this widget free to use?

Yes, it is 100% free for personal and commercial websites.