← Back to all products

Social Proof Widget

$19

Social proof widgets including testimonial rotators, live counters, and trust badge integrations.

📁 10 files
JSONMarkdownPython

📄 Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample

📁 File Structure 10 files

social-proof-widget/ ├── LICENSE ├── README.md ├── examples/ │ └── widgets.json ├── free-sample.zip ├── guide/ │ ├── 01_features.md │ ├── 02_cli-reference.md │ ├── 03_configuration.md │ └── 04_license.md ├── index.html └── src/ └── social_proof_widget.py

📖 Documentation Preview README excerpt

Social Proof Widget

Part of the Landing Lab by CodeVault

Generate embeddable social proof HTML widgets from JSON data: testimonial rotators, review aggregators, trust badge strips, visitor counters, customer logo bars, and stats displays. Each widget is self-contained HTML with inline CSS — just paste into your landing page.

Features

  • Six widget types: testimonial rotator, review aggregate, trust badges, visitor counter, customer logos, stats bar
  • Pure CSS animations (no JavaScript needed for testimonials)
  • Self-contained HTML snippets with inline styles
  • Customisable brand colours, fonts, and content
  • Star rating displays with Unicode characters
  • Responsive layouts that work on mobile
  • Python stdlib only — zero pip dependencies

Quick Start


# Generate a testimonial rotator
python src/social_proof_widget.py --config examples/widgets.json --widget testimonial-rotator

# Generate all widgets at once
python src/social_proof_widget.py --config examples/widgets.json --all --output widgets.html

# Generate trust badges only
python src/social_proof_widget.py --config examples/widgets.json --widget trust-badges

# List available widget types
python src/social_proof_widget.py --list

CLI Reference

FlagDescription
--config, -cPath to widgets JSON config (required)
--widget, -wWidget type to generate
--allGenerate all widget types
--output, -oOutput file (default: stdout)
--listList available widget types
--verbose, -vEnable verbose logging

Widget Types

WidgetDescription
testimonial-rotatorAnimated testimonial carousel with CSS fade
review-aggregateStar rating + distribution bar chart
trust-badgesHorizontal badge/certification strip
visitor-counterLive visitor count with pulsing dot
customer-logos"Trusted by" logo bar with hover effects
stats-barKey metrics display (users, uptime, etc.)

Configuration

See examples/widgets.json for a complete example covering all widget types.

Examples

... continues with setup instructions, usage examples, and more.

📄 Code Sample .py preview

src/social_proof_widget.py #!/usr/bin/env python3 """ Social Proof Widget — Landing Lab by DataNest Generate embeddable social proof HTML widgets from JSON data: testimonial rotators, review aggregators, trust badge strips, and live visitor counters. Each widget is a self-contained HTML snippet with inline CSS — just paste it into your landing page. Why this exists: Social proof is the #1 conversion lever after your headline. But building a testimonial slider or "1,247 people signed up today" counter takes hours of front-end work. This tool generates production-ready, styled HTML widgets in seconds. Usage: python social_proof_widget.py --config widgets.json --widget testimonial-rotator python social_proof_widget.py --config widgets.json --widget trust-badges python social_proof_widget.py --config widgets.json --widget review-aggregate python social_proof_widget.py --config widgets.json --all --output widgets.html License: MIT """ from __future__ import annotations import argparse import html import json import logging import sys from dataclasses import dataclass, field from pathlib import Path from typing import Any # --------------------------------------------------------------------------- # Constants # --------------------------------------------------------------------------- LOG = logging.getLogger("social-proof-widget") WIDGET_TYPES = ( "testimonial-rotator", "review-aggregate", "trust-badges", "visitor-counter", "customer-logos", "stats-bar", ) # ... 448 more lines ...
Buy Now — $19 Back to Products