Skip to main content
Clever Ops

Article Card Grid

Editorial article cards, mono kicker with category and read time, display titles, a dek line, and initials-avatar bylines. The featured story spans wide inside a hairline frame.

Preview & code

Loading Article Card Grid preview

Installation

pnpm dlx shadcn@latest add @cleverui/article-card-grid

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { ArticleCardGrid } from '@/components/blocks/article-card-grid'
Exampletsx
import { ArticleCardGrid } from '@/components/blocks/article-card-grid'

export default function ArticleCardGridDemo() {
  return (
    <div className="mx-auto w-full">
      <ArticleCardGrid
        eyebrow="Journal"
        heading="Latest writing"
        articles={[
          {
            title: 'Designing calm dashboards that still surface risk',
            dek: 'How Meridian Ops rebuilt their incident board around progressive disclosure, fewer red badges, faster time-to-context for on-call engineers.',
            category: 'Product',
            readTime: '6 min',
            author: 'Asha Okonkwo',
            dateLabel: '12 Jul 2026',
            href: '#calm-dashboards',
            featured: true,
          },
          {
            title: 'Why we killed the status page carousel',
            dek: 'A postmortem on animated health widgets that trained users to ignore the only signal that mattered.',
            category: 'Engineering',
            readTime: '4 min',
            author: 'Jonas Reed',
            dateLabel: '8 Jul 2026',
            href: '#status-carousel',
          },
          {
            title: 'Ship notes: the ledger view in Fieldkit 2.4',
            dek: 'What changed in the inspection timeline, why we kept mono labels, and the three tickets we deferred.',
            category: 'Release',
            readTime: '3 min',
            author: 'Priya Nair',
            dateLabel: '3 Jul 2026',
            href: '#fieldkit-24',
          },
          {
            title: 'Writing RFCs that engineers actually open',
            dek: 'A structure borrowed from flight checklists, decision first, alternatives second, appendices last.',
            category: 'Process',
            readTime: '7 min',
            author: 'Elena Voss',
            dateLabel: '28 Jun 2026',
            href: '#rfcs',
          },
          {
            title: 'The case for preformatted dates in UI copy',
            dek: 'SSR honesty, locale traps, and why “12 Jul 2026” beats a client-side toLocaleDateString every time.',
            category: 'Craft',
            readTime: '5 min',
            author: 'Marcus Chen',
            dateLabel: '21 Jun 2026',
            href: '#preformatted-dates',
          },
        ]}
      />
    </div>
  )
}

API reference

ArticleCardGrid accepts the following props.

PropTypeDefaultDescription
eyebrowstringmono micro-label above the section heading, e.g. 'Journal'
headingstringsection heading, e.g. 'Latest writing'
articles*ArticleCardItem[]

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface ArticleCardItem {
  title: string
  dek: string
  category: string
  /** PREFORMATTED, e.g. '6 min', never built from Date in render */
  readTime: string
  author: string
  /** PREFORMATTED, e.g. '12 Jul 2026', never built from Date in render */
  dateLabel: string
  href: string
  featured?: boolean
}

Frequently asked questions

How do I install the Article Card Grid component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/article-card-grid`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Article Card Grid require?

Article Card Grid uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Article Card Grid to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services