Testimonial

Testimonial card with a quote, avatar with initials fallback, name and role, using semantic figure and blockquote markup. Built in Tailwind for landing pages.

src/registry/ui/testimonial.tsx/r/testimonial.json

Installation#

bash
npx shadcn@latest add @minidev/testimonial

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/testimonial.json

Usage#

tsx
import { Testimonial } from "@/components/ui/testimonial"

export function Example() {
  return (
    <Testimonial quote="Finally a kit that doesn’t look like every other dashboard." name="Jordan Lee" role="Design Eng" />
  )
}

API reference#

Testimonial props
PropTypeDefault
quotestring"Lumen took our month-end close from ...
namestring"Maya Chen"
rolestring"Head of Finance, Northwind"
srcstring-
classNamestring-

Dependencies#

npm

React only

Built from

Examples#

All Landing page sections for React and Tailwind

Learn more