About
A generic row for lists of objects — an icon, title, description, a meta fact and an action on the right, used alone or stacked in a bordered group.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Item Card to your project and fits it to your theme.
Code
How Item Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ItemCard } from "@/components/ui/item-card";
import { CreditCard } from "lucide-react";
export default function PaymentMethodItemCardDemo() {
return (
<div className="w-full max-w-md">
<ItemCard
icon={<CreditCard />}
title="Visa ending in 4242"
description="Expires 08/27"
action={
<span className="text-xs font-semibold text-foreground">Default</span>
}
/>
</div>
);
}











