DDBS UI
card

Editorial Blog Card

A tall editorial blog card in two variants, a solid gold tile or a dark photo tile, with a category chip, a large headline and an author with a dash. Harvested from Farmetic.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/editorial-blog-card.json

Usage

editorial-blog-card-example.tsx
import { EditorialBlogCard } from "@dbs/ui";

export default function EditorialBlogCardExample() {
  return (
    <div className="grid w-full max-w-2xl grid-cols-1 gap-5 sm:grid-cols-2">
      <EditorialBlogCard
        variant="gold"
        category="Field notes"
        title="Five soil habits that quietly raise your yield"
        author="Ana Okonkwo"
        href="#"
      />
      <EditorialBlogCard
        variant="photo"
        image="/samples/field-agronomy.jpg"
        category="Agronomy"
        title="Reading the season before it reads you"
        author="Marcus Field"
        href="#"
      />
    </div>
  );
}