Testimonial Card

Displays a card with an avatar, quote, author name, and author role.

M
Security was our top concern, and this platform exceeded our expectations.
Michel Zhang
Security Architect

Usage

import {  TestimonialCard,  TestimonialCardAuthor,  TestimonialCardAvatar,  TestimonialCardContent,  TestimonialCardFooter,  TestimonialCardQuote,  TestimonialCardRole,} from "@/app/_components/ui/testimonial-card";
<TestimonialCard>  <TestimonialCardContent>    <TestimonialCardAvatar imageUrl={avatarUrl} alt="Michel Zhang" />    <TestimonialCardQuote>      "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod      tempor incididunt ut labore et dolore magna aliqua."    </TestimonialCardQuote>  </TestimonialCardContent>  <TestimonialCardFooter>    <TestimonialCardAuthor>Author Name</TestimonialCardAuthor>    <TestimonialCardRole>Author Role</TestimonialCardRole>  </TestimonialCardFooter></TestimonialCard>

Props

TestimonialCard

NameTypeDefaultDescription
childrenReactNode-The content to be displayed.
classNamestring-Additional classes.

TestimonialCardAuthor

NameTypeDefaultDescription
childrenReactNode-The content to be displayed.
classNamestring-Additional classes.

TestimonialCardAvatar

NameTypeDefaultDescription
classNamestring-Additional classes.
imageUrlstring-The URL of the avatar image.
altstring-The alt text of the image.

TestimonialCardContent

NameTypeDefaultDescription
childrenReactNode-The content to be displayed.
classNamestring-Additional classes.

TestimonialCardFooter

NameTypeDefaultDescription
childrenReactNode-The content to be displayed.
classNamestring-Additional classes.

TestimonialCardQuote

NameTypeDefaultDescription
childrenReactNode-The content to be displayed.
classNamestring-Additional classes.

TestimonialCardRole

NameTypeDefaultDescription
childrenReactNode-The content to be displayed.
classNamestring-Additional classes.