---
title: "Blog Post List Module for Sanity + Next.js"
description: "Display your latest blog posts in a scrolling carousel, with a custom intro, call-to-actions, and a configurable post limit."
---

# Blog post list module

Shows your most recent blog posts in a horizontal carousel. Posts are fetched automatically, newest first.

[View source on GitHub](https://github.com/nuotsu/sanitypress/tree/main/src/modules/blog-post-list) (schema + React component)

## Module fields

| Field | Type | Description |
| --- | --- | --- |
| `intro` | Portable Text | Heading and copy, centered above the posts. |
| `ctas` | array of `cta` | Call-to-actions centered below the posts. |
| `limit` | number | Number of posts to display. Defaults to 6. |
| `attributes` | `module-attributes` | Shared by every module: `uid` (HTML id for deep links), `hidden`, and `scopedCss`. |

## Demo: Latest posts

The six most recent posts, newest first.

[Read more](/blog)

Frequently Asked Questions

## Blog post list module FAQ

### When should I use the Blog post list module?

Use it to surface your latest articles outside the blog itself, for example a "From the blog" section on the homepage or a landing page. It pulls the newest published posts automatically, so the section stays fresh without editing the page.

### How do I add the Blog post list module to a page?

In Sanity Studio, open the page, click Add item in its Modules field, and pick Blog post list. Fill in the fields, check it in the live Presentation preview, and publish. Modules can be reordered by dragging, and the same module can be used on any page as many times as you need.

### How do I customize the Blog post list module?

Set limit to control how many posts appear (6 by default), add an intro heading and copy above the posts, and add call-to-actions below them, such as a link to the full blog.

Every module also has a Scoped CSS field (plus a uid for deep links and a hidden toggle), so you can restyle one instance without touching the rest of the site. For bigger changes, edit the module's React component and schema in src/modules/blog-post-list in the repo.

Previous module

![Custom HTML module](https://cdn.sanity.io/images/cyu7k2r0/production/069a7d6293f1733d50ff0c21ad94b1f4e0c2f391-2560x458.png)

[Custom HTML module](/modules/custom-html)

Next module

![Accordion list module](https://cdn.sanity.io/images/cyu7k2r0/production/7dd736b6f7f6866fd9a2de8fe316fb6885a203f2-2560x1068.png)

[Accordion list module](/modules/accordion-list)
