Press Quote

A centered press or testimonial quote using figure, blockquote and figcaption, with a large quoted line and an uppercase source. Adds proof to landing pages.

src/registry/ui/press-quote.tsx/r/press-quote.json

Installation#

bash
npx shadcn@latest add @minidev/press-quote

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/press-quote.json

Usage#

tsx
import { PressQuote } from "@/components/ui/press-quote"

export function Example() {
  return (
    <PressQuote quote="The rare kit that looks intentional in screenshots." source="Design Weekly" />
  )
}

API reference#

PressQuote props
PropTypeDefault
quote*string-
source*string-
classNamestring-

* required

Examples#

All Landing page sections for React and Tailwind

Learn more