DDBS UI
section

Sentiment Testimonials

A testimonial switcher: a column of large sentiment words drives a panel with a photo, a dark metric card, the quote and the author. Harvested from Linksmoor.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/sentiment-testimonials.json
Fullscreen
Testimonials
Green and flag on the championship course
153K
4.9

“The course is pristine and the views are stunning. Booking was easy, and the staff made us feel welcome from the moment we arrived.”

Miguel Haze

Texas

Usage

sentiment-testimonials-example.tsx
import { SentimentTestimonials } from "@dbs/ui";

const items = [
  {
    word: "Unforgettable",
    quote:
      "“The course is pristine and the views are stunning. Booking was easy, and the staff made us feel welcome from the moment we arrived.”",
    author: "Miguel Haze",
    location: "Texas",
    metric: "153K",
    rating: "4.9",
    image: "/samples/golf-1.jpg",
    imageAlt: "Green and flag on the championship course",
    avatar: "/samples/golf-avatar.jpg",
  },
  {
    word: "Impressive",
    quote:
      "“From the manicured greens to the clubhouse service, every detail matches international tour standards. The mountain backdrops are unforgettable.”",
    author: "Julian Vance",
    location: "California",
    metric: "98K",
    rating: "4.95",
    image: "/samples/golf-2.jpg",
    avatar: "/samples/golf-avatar.jpg",
  },
  {
    word: "Relaxing",
    quote:
      "“A truly peaceful haven away from the city. Enjoying sunset on the terrace after 18 holes was the best part of our weekend getaway.”",
    author: "Claire Montrose",
    location: "Illinois",
    metric: "112K",
    rating: "4.88",
    image: "/samples/golf-3.jpg",
    avatar: "/samples/golf-avatar.jpg",
  },
  {
    word: "Professional",
    quote:
      "“The caddies are top-tier and course marshaling keeps play pacing smooth. Easily one of the finest layouts I have played all season.”",
    author: "Marcus Sterling",
    location: "Florida",
    metric: "140K",
    rating: "4.92",
    image: "/samples/golf-4.jpg",
    avatar: "/samples/golf-avatar.jpg",
  },
];

export default function SentimentTestimonialsExample() {
  return <SentimentTestimonials items={items} />;
}