Skip to content

Illustrated journal

Editorial article grid with line illustrations.

Usage

Usage
import { Cards02 } from '@/components/blocks/cards-02'


<Cards02 />


// Swap in your own content
<Cards02
  title="Latest stories"
  description="Ideas and lessons from the team."
  actionLabel="Read the blog"
  actionHref="/blog"
  items={[
    { title: 'Writing docs people actually read', day: '12', month: "Oct '26", author: 'Noemi Barros', href: '/blog/docs' },
    { title: 'Shipping calmly across time zones', day: '28', month: "Sep '26", author: 'Ilya Sorensen', href: '/blog/time-zones' },
    { title: 'A week-one plan for new hires.', day: '3', month: "Sep '26", author: 'Noemi Barros', href: '/blog/week-one', tone: 'paper' },
  ]}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/cards-02

Source

Props

Illustrated journal props
PropTypeDefaultDescription
titleReactNode= 'From the journal'Section heading.
descriptionstring= 'Field notes on building calmer, better-run teams.'Supporting line under the heading; pass an empty string to hide it.
actionLabel / actionHrefstring= 'All articles' / '#'Outlined pill beside the heading; pass an empty label to hide it.
itemsCard02Item[]= Three sample articlesEach card: title, day, month, and optional author, href, and tone. Illustrations follow card position (laptop chart, launching supplies, paged building) and repeat after three.
items[].tone'tint' | 'stone' | 'paper'= By positionCard color: soft blue tint, neutral stone, or paper; defaults cycle in that order.
classNamestring= —Additional classes for the section.