X Enterprises
nuxt-x-blog

RecentPosts

Sidebar widget showing the most recent blog posts.

RecentPosts

The XBLRecentPosts component renders a compact list of recent posts for use in sidebars or aside panels on post pages. Pass the result of useBlog().getRecentPosts().

Components

<XBLRecentPosts />

<XBLRecentPosts :posts="recentPosts" title="Recent Posts" />

Props

PropTypeDefaultDescription
postsBlogPost[]requiredRecent posts from getRecentPosts(limit) — pass an already-trimmed array
titlestring'Recent Posts'Section heading text

AI Context

component: XBLRecentPosts
package: "@xenterprises/nuxt-x-blog"
use-when: Sidebar or aside panel listing the most recent blog posts
Copyright © 2026