Card
Simple Card with Chai Theme
A visually elegant, customizable card component with optional Chai theme support.
Overview
SimpleCard can be used for blog card and other card utilises since it is very much flexible

Mountain Mist Tea
Peaceful Tea Experience
Experience tranquility in the heart of the mountains, where fresh air and breathtaking views await you every morning.
Learn More
Urban Coffee Journey
City Brews & Beans
Dive into the vibrant energy of the city, discovering hidden gems, lively streets, and unforgettable urban experiences.
Learn MoreInstallation
CLI Installation
Make sure ShadCN UI and your custom UI system are set up in your project. Then run:
Manual Installation
To manually install the SimpleCard 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 simpleCard/, create a new file called:
🧾 3. Paste the Component Code
Paste the following code into SimpleCard.tsx:
Usage
Import and use the SimpleCard component like this:
Props
| Prop | Type | Description | Default |
|---|---|---|---|
title | string | Title text shown at the top of the card | "Default Title" |
subtitle | string | Subtitle or secondary heading below the title | "Default Subtitle" |
desc | string | Description content in the body | "default description" |
src | string | Image URL shown in the card | Pexels Image |
link | string | URL that opens when "Learn More" is clicked | "./" |
ChaiTheme | boolean | Whether to apply Chai-themed amber color styles | false |