Article Blocks for Astro
Astro article layouts with author details, lead images, and reading content.
Image header
Lead with an image, then keep the author details close to the article title.
bunx --bun shadcn@latest add @gnostic/article-image-headernpx shadcn@latest add @gnostic/article-image-headerpnpm dlx shadcn@latest add @gnostic/article-image-headerCentered header
Center the title and author details before the reading column.
bunx --bun shadcn@latest add @gnostic/article-centered-headernpx shadcn@latest add @gnostic/article-centered-headerpnpm dlx shadcn@latest add @gnostic/article-centered-headerEditorial article
Use this section for a case study or journal entry.
bunx --bun shadcn@latest add @gnostic/content-article-factsnpx shadcn@latest add @gnostic/content-article-factspnpm dlx shadcn@latest add @gnostic/content-article-factslabelstring
Content category.
stringtitlestring
Article heading.
stringdescriptionstring
Article summary.
stringimageBlockImageUrl
Main image.
BlockImageUrlmetadata{ label: string; value: string }[]
Article facts.
{ label: string; value: string }[]sections{ title: string; description: string }[]
Article sections.
{ title: string; description: string }[]backBlockLink
Link to the collection.
BlockLinkclass?string
Classes for the root element.
stringSee serif accent font setup when installing this section.
Choose a article layout
Choose an article layout for one long-form page. Keep the title specific and use the description to set the scope. Author and date details should describe the actual publication, not the demo content.
Pass content from Astro
Pass the heading, author object, and image required by the chosen block. Place the article body in the supported content slot. The template owns collection queries and the route; the reusable block only receives the resulting content.
Responsive layout and images
Check line length, long headings, code, and tables on small screens. Supply image dimensions through the expected Astro image type and use a crop that still makes sense beside the title. A decorative lead image can have empty alt text; an informative image needs an accurate description.

