Testimonials, cover


Install
npx shadcn add https://ui.klarhimmel.com/r/testimonials-cover.jsonDetailsAbout, usage, props and more
A full-width cover picture under a dark scrim with a big headline over it, and one white quote card (quote, name and role, one button) overlapping its lower part, to…
Import
Import
- testimonials/cover
- About
- A full-width cover picture under a dark scrim with a big headline over it, and one white quote card (quote, name and role, one button) overlapping its lower part, to the right on a wide screen and full width on a phone.
- Category
- What customers say, one quote or many. New project? Set it up once: /get-started/installation.
Notes
When to use it
A full-width cover picture under a dark scrim with a big headline over it and one white quote card overlapping its lower part. Use it for one strong customer quote and testimonials-grid for several.
Writing for it
- Write the headline as the result in the customer's terms. It runs to two lines on a wide screen. - Choose a cover picture that survives a dark scrim, since the headline is drawn in white over it. - Put the quote in the speaker's words on the card, with their name and role and one button.
Watch out for
The card sits to the right on a wide screen and full width on a phone. A very long quote makes the card cover most of the picture, so keep it to a few sentences.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | 'Write one big heading that carries …' | Text, up to 90 characters. |
media | Media | {…} | See the type. |
quote | string | 'Write a real customer quote, in the…' | Text, up to 240 characters. |
name | string | 'Name of the speaker' | Text, up to 60 characters. |
role | string | 'Their role at their company' | Text, up to 80 characters. |
action | Link | {…} | See the type. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |