Velocity X Components

Content & Dashboard

Related Posts Row

Compact grid of 2-4 related post cards for the end of an article.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add related-posts-row

Built for astro.

Full docs for Related Posts Row →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
titlestringNo'Related posts'
postsRelatedPost[]No[ { href: '#', title: 'The JSON-driven brand-swap architecture', category: 'Engineering' }, { href: '#', title: 'Why the home page stays hand-built per brand', category: 'Design' }, { href: '#', title: 'Spin-up hardening: the fork-scrub checklist', category: 'Ops' }, ]
headingLevel1 | 2 | 3 | 4 | 5 | 6Yes
itemHeadingLevel1 | 2 | 3 | 4 | 5 | 6Yes
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/related-posts-row/RelatedPostsRow.astro

Using the Related Posts Row component

Install it with velocityx add related-posts-row. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Content & Dashboard.