Article Card

About this component

Article Card

An article card with cover image, category chip, excerpt, and author row for blog and news grids.

Usage

The import and the props worth knowing about, in one place.

import { Card5 } from "@/components/beste/component/card5";

// The whole card becomes a link when href is set.
<Card5
  src="/blog/registry-cover.jpg"
  category="Engineering"
  title="Shipping faster with a component registry"
  excerpt="How we cut landing page build time from days to hours."
  authorName="Selin Aksoy"
  authorSrc="/avatars/selin.jpg"
  date="Jun 12, 2026"
  readTime="6 min read"
  href="/blog/component-registry"
/>

<Card5
  src="/blog/design-tokens.jpg"
  category="Design"
  title="Design tokens that survive a rebrand"
  authorName="Mert Aydin"
  date="May 28, 2026"
  tone="foreground"   // category chip: "primary" (default) | "foreground"
/>

Keyboard and gestures

Every one of these is in the component already. They are listed because a props table cannot mention a gesture, so nothing else on this page can tell you they exist.

HoverThe card lifts and the image scales inside its frame; `motion-reduce` turns the movement off.

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
src*string—Cover image URL
categorystring—Category chip above the title
title*string—Article title
excerptstring—Short excerpt under the title
authorName*string—Author name
authorSrcstring—Author avatar URL. Falls back to an initial circle when omitted
date*string—Publish date (e.g. "Jun 12, 2026")
readTimestring—Read time (e.g. "6 min read")
hrefstring—If set, the whole card links to this href
tone"primary" | "foreground"—Category chip color
classNamestring—Additional classes merged onto the root

More Card components

View all Card
We rebuilt our marketing site in a weekend. The blocks are clean, accessible, and the code reads like we wrote it ourselves.
Mary PollockFounder, Nordwind