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, ItemCardGroup } from "@/components/ui/item-card";
import { Button } from "@/components/ui/button";
import { Switch } from "@/components/ui/switch";
import { Zap, Users, Bell } from "lucide-react";
export default function ItemCardGroupDemo() {
return (
<div className="w-full max-w-md">
<ItemCardGroup>
<ItemCard
icon={<Zap />}
title="Automations"
description="Trigger workflows from events."
meta="12 active"
action={
<Button variant="outline" size="sm">
Open
</Button>
}
/>
<ItemCard
icon={<Users />}
title="Team"
description="Members, roles and invites."
meta="8 members"
action={
<Button variant="outline" size="sm">
Manage
</Button>
}
/>
<ItemCard
icon={<Bell />}
title="Notifications"
description="Channels and digests."
action={<Switch defaultChecked aria-label="Example switch" />}
/>
</ItemCardGroup>
</div>
);
}



