Articles Blocks for Astro
Astro article listings for posts, notes, and editorial collections.
Featured grid
Give one story more space while keeping related stories in the same collection.
bunx --bun shadcn@latest add @gnostic/articles-1npx shadcn@latest add @gnostic/articles-1pnpm dlx shadcn@latest add @gnostic/articles-1Featured sidebar
Place the lead story beside a smaller set of related articles.
bunx --bun shadcn@latest add @gnostic/articles-2npx shadcn@latest add @gnostic/articles-2pnpm dlx shadcn@latest add @gnostic/articles-2Rows
Use rows when readers need to compare several article summaries.
bunx --bun shadcn@latest add @gnostic/articles-3npx shadcn@latest add @gnostic/articles-3pnpm dlx shadcn@latest add @gnostic/articles-3Text grid
Use text cards when the titles and summaries carry the collection.
bunx --bun shadcn@latest add @gnostic/articles-4npx shadcn@latest add @gnostic/articles-4pnpm dlx shadcn@latest add @gnostic/articles-4Editorial blog
Use this section for the blog part of a studio site.
bunx --bun shadcn@latest add @gnostic/blog-agencynpx shadcn@latest add @gnostic/blog-agencypnpm dlx shadcn@latest add @gnostic/blog-agencylabelstring
Small section label.
stringtitlestring
Main heading text.
stringaccent?string
Optional italic heading text.
stringdescription?string
Supporting copy.
stringclass?string
Classes for the root element.
stringarticles{
title: string
description: string
href: string
date: string
image: AgencyImage
}[]
Articles with ISO dates.
{
title: string
description: string
href: string
date: string
image: AgencyImage
}[]See serif accent font setup when installing this section.
Journal grid
Supply your own content. The section uses the selected project preset.
bunx --bun shadcn@latest add @gnostic/content-journal-gridnpx shadcn@latest add @gnostic/content-journal-gridpnpm dlx shadcn@latest add @gnostic/content-journal-gridcontentJournalGridContent
Section content.
JournalGridContentclass?string
Classes added to the root.
stringChoose a articles layout
Choose a list or grid based on how many articles a reader must compare. Use consistent categories and dates so each card supplies the same kind of information.
Pass content from Astro
Pass an articles array with the fields required by the selected variant. The first variant includes title, description, category, optional href, image, and author data. Sort and paginate in the route or data layer before passing the array.
Responsive layout and images
Check mixed title lengths and missing author images at narrow widths. Use deliberate thumbnail crops and avoid downloading full-size lead images for every card. A responsive grid changes the layout; it does not fetch additional pages.
Compose the next section
Pair the listing with an Article detail page and Pagination when the route has several pages of results.









