HelpTribe.

ProductCard

Display card for Helptribe ERP products. Each card shows the product icon, name, description, and optional link to product details.

Installation

$ npx shadcn@latest add product-card

Preview

Terro

Finance & Accounting

All Products

Terro

Finance & Accounting

Marlin

Real Estate Management

Dilivygo

Restaurant & Delivery

Haigo

Hospitality Management

AutoTab

Automotive Management

Usage (React/TSX)

import { ProductCard } from "@/components/ui/product-card"
import { Landmark, Home, Compass, Layers, Cpu } from "lucide-react"

const products = [
  { name: "Terro", desc: "Finance & Accounting", icon: Landmark, color: "text-blue-400 bg-blue-500/10" },
  { name: "Marlin", desc: "Real Estate Management", icon: Home, color: "text-emerald-400 bg-emerald-500/10" },
  { name: "Dilivygo", desc: "Restaurant & Delivery", icon: Compass, color: "text-amber-400 bg-amber-500/10" },
  { name: "Haigo", desc: "Hospitality Management", icon: Layers, color: "text-red-400 bg-red-500/10" },
  { name: "AutoTab", desc: "Automotive Management", icon: Cpu, color: "text-rose-400 bg-rose-500/10" },
]

export default function ProductGrid() {
  return (
    <div className="grid grid-cols-3 gap-4">
      {products.map(product => (
        <ProductCard
          key={product.name}
          name={product.name}
          description={product.desc}
          icon={<product.icon className="w-5 h-5" />}
          color={product.color}
          href={`/products?product=${product.name.toLowerCase()}`}
        />
      ))}
    </div>
  )
}

Props

PropTypeDefaultDescription
namestring—The product name.
descriptionstring—Short product description.
hrefstring—Optional link URL for the arrow icon.
iconReactNode—Product icon element.
colorstring—Tailwind classes for icon background and text color.
classNamestring—Additional CSS classes to apply.