DDBS UI
card

Media News Card

A square media card: an image with an optional overlay headline or mark and a hover play badge, a title, and a category and time meta row. Harvested from By The Book.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/media-news-card.json
Dependencies:lucide-react
Fullscreen

The onboarding playbook for 2026

The onboarding playbook for 2026

Guide6 min read
Inside a modern compliance team

Inside a modern compliance team

Watch4 min
Why automation beats manual review

Why automation beats manual review

Article8 min read

Usage

media-news-card-example.tsx
import { MediaNewsCard } from "@dbs/ui";

export default function MediaNewsCardExample() {
  return (
    <div className="grid w-full max-w-3xl grid-cols-1 gap-6 sm:grid-cols-3">
      <MediaNewsCard
        image="/samples/case-office.jpg"
        overlayText="The onboarding playbook for 2026"
        title="The onboarding playbook for 2026"
        category="Guide"
        time="6 min read"
      />
      <MediaNewsCard
        image="/samples/case-sunset.jpg"
        isWatch
        title="Inside a modern compliance team"
        category="Watch"
        time="4 min"
      />
      <MediaNewsCard
        image="/samples/field-land.jpg"
        title="Why automation beats manual review"
        category="Article"
        time="8 min read"
      />
    </div>
  );
}