157
A blog grid led by one large featured post, each card with drawn cover art, tags, reading time and author, lifting gently on hover while its cover drifts closer.
akablog·articles·posts
Run this in any project set up for the shadcn CLI. It copies the Article Cards source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/article-cards.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ArticleCards } from "@/components/article-cards";
export default function Page() {
return <ArticleCards />;
}A free React block in the Content collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Article Cards source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| eyebrow | string | "Journal" |
| title | ReactNode | "Latest writing" |
| articlesrequired | Article[] | — |
| allHref | string | — |
| className | string | — |