Article Card
An image tile with a dark gradient and an overlaid title, linking to a post. Harvested from Cumulus.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/article-card.jsonUsage
article-card-example.tsx
import { ArticleCard } from "@dbs/ui";
export default function ArticleCardExample() {
return (
<div className="w-72">
<ArticleCard
image="/samples/blog-analytics.jpg"
imageAlt="Analytics dashboard"
title="Turning data into strategy: the power of analytics"
href="#"
/>
</div>
);
}
