Articles Blocks for Astro
Astro article listings for posts, notes, and editorial collections.
Image grid
Show an image, summary, and byline for each article in a grid of up to three columns.
bunx --bun shadcn@latest add @gnostic/articles-image-gridnpx shadcn@latest add @gnostic/articles-image-gridpnpm dlx shadcn@latest add @gnostic/articles-image-gridFeatured story
Place the lead story above the related articles. On wide screens, its image sits beside its summary.
bunx --bun shadcn@latest add @gnostic/articles-featured-storynpx shadcn@latest add @gnostic/articles-featured-storypnpm dlx shadcn@latest add @gnostic/articles-featured-storyCompact grid
Show short article summaries in image cards. The grid fits up to four cards per row.
bunx --bun shadcn@latest add @gnostic/articles-compact-gridnpx shadcn@latest add @gnostic/articles-compact-gridpnpm dlx shadcn@latest add @gnostic/articles-compact-gridText grid
Use text cards when the titles and summaries carry the collection.
bunx --bun shadcn@latest add @gnostic/articles-text-gridnpx shadcn@latest add @gnostic/articles-text-gridpnpm dlx shadcn@latest add @gnostic/articles-text-gridEditorial blog
Use this section for the blog part of a studio site.
bunx --bun shadcn@latest add @gnostic/blog-image-gridnpx shadcn@latest add @gnostic/blog-image-gridpnpm dlx shadcn@latest add @gnostic/blog-image-gridSee 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.



