Testimonials Widget v1.0

Beautiful reviews.
Zero dependencies.

Drop-in testimonial widgets for Astro sites. Five layout styles, full CSS customization, multi-source reviews. Paste the code, ship it live.

<script src="astrowidgets.dev/widgets/testimonials.js"></script> <testimonial-widget layout="grid" theme="light"></testimonial-widget>

Five styles, one component

Every layout is responsive, accessible, and fully customizable via CSS custom properties.

Grid

Classic multi-column card grid. Best for landing pages and dedicated review sections.

Slider

Smooth carousel with navigation. Perfect for hero sections and focused storytelling.

List

Vertical stack with horizontal card layout. Great for sidebars and narrow containers.

Badge

Compact summary with top reviews. Ideal for sidebars, footers, and floating widgets.

Masonry

Pinterest-style staggered layout. Showcases reviews of varying length beautifully.

Built different

Zero dependencies

Pure web component. No React, no Vue, no framework lock-in. Works everywhere JavaScript runs.

Full CSS control

30+ CSS custom properties. Override colors, fonts, spacing, shadows — or inject your own CSS directly.

Instant setup

Two lines of HTML. Add the script tag, drop in the component, done. Works with any Astro site.

Multi-source

Google, Yelp, Facebook, Trustpilot — display reviews from any platform with source badges.

Responsive

Every layout adapts gracefully from mobile to ultrawide. No media query tweaks needed.

Shadow DOM

Encapsulated styles that never leak. Your site CSS stays untouched, the widget looks exactly right.

Start building

Try the interactive configurator to dial in your perfect look, then copy the code.

Open Configurator