Back to library
cards
Card with Image
Compact card with image, trending/featured badges, description, and a CTA button. From reui.io.
Inspired by reui.io · View source
Preview
Trending
Featured
Simplifying your workflow from day one. Manage your tasks, projects, and team in one place.
Copy for AI
Copy for Lovable is the fastest way to move this component into another Lovable project — it copies the full prompt with dependencies, files, and a usage example. Copy all files gives you the raw source if you want to paste it manually.
Installation
npx shadcn@latest add @reui/c-card-7Paste into a terminal — or paste into a Lovable chat and I'll run it for you.
Source files
components/ui/c-card-7.tsx
'use client';
import { ArrowRightIcon, BellIcon, SparklesIcon } from 'lucide-react';
import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';
import { Card, CardContent } from '@/components/ui/card';
export function CCard7() {
return (
<Card className="w-full max-w-xs">
<CardContent className="flex flex-col gap-4">
<div className="relative h-48 w-full overflow-hidden rounded-lg">
<img
src="https://picsum.photos/1000/800?grayscale&random=18"
alt="Grayscale abstract texture"
width={1000}
height={800}
className="h-full w-full object-cover"
/>
</div>
<div className="flex items-center justify-between gap-5">
<Badge variant="outline">
<BellIcon aria-hidden="true" />
Trending
</Badge>
<div className="flex items-center gap-1">
<SparklesIcon aria-hidden="true" className="size-4" />
<span className="text-secondary-foreground text-xs font-medium">
Featured
</span>
</div>
</div>
<p className="text-foreground text-sm">
Simplifying your workflow from day one. Manage your tasks, projects,
and team in one place.
</p>
<Button>
Get Started
<ArrowRightIcon aria-hidden="true" />
</Button>
</CardContent>
</Card>
);
}
export default CCard7;
Dependencies
lucide-react