Blog grid
CoreBlockA blog index with a featured post, category filter, post cards, pagination and an in-place reader.
pnpm dlx shadcn@latest add https://wui.alann.works/r/blog-grid.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
title | string | "Journal" |
description | string | — |
posts | BlogPost[] | blogPosts |
categories | string[] | blogCategories |
category | string | — |
defaultCategory | string | "All" |
onCategoryChange | (category: string) => void | — |
page | number | — |
defaultPage | number | 1 |
onPageChange | (page: number) => void | — |
pageSize | number | 6 |
showFeatured | boolean | true |
getHref | (post: BlogPost) => string | — |
onPostOpen | (post: BlogPost) => void | — |
className | string | — |






