Testimonial Card
A visually elegant, customizable component with optional Chai theme support.
Overview
Accordion can be used for FAQ sections, help sections, and other collapsible content utilities since it is very flexible.

Installation
CLI Installation
Make sure ShadCN UI and your custom UI system are set up in your project. Then run:
To provide the documentation for the TestimonialCard component similar to the structure of Accordion.mdx, we need to follow the same format and include relevant sections such as Overview, Installation, Manual Installation, Usage, and Props.
Here's how the documentation for TestimonialCard would look:
Manual Installation
To manually install the TestimonialCard component in your project, follow these steps:
📁 1. Folder Structure
Navigate to your project’s src directory and create the following folder structure:
🧩 2. Create the Component File
Inside testimonialCard/, create a new file called:
🧾 3. Paste the Component Code
Paste the following code into TestimonialCard.tsx:
Usage
Import and use the TestimonialCard component like this:
Props
| Prop | Type | Description | Default |
|---|---|---|---|
name | string | Name of the person giving the testimonial | "John Doe" |
role | string | Role or title of the person giving the testimonial | "Software Engineer" |
testimonial | string | The testimonial text | "This is a default testimonial. It can be replaced with actual customer feedback." |
ChaiTheme | boolean | Whether to apply Chai-themed amber color styles | false |