Velocity X Components

Content & Dashboard

Post Navigation (Prev/Next)

Previous/next post navigation links with directional chevrons, stacking to one column on mobile.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add post-navigation

Built for astro.

Full docs for Post Navigation (Prev/Next) →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
prevPostLink | nullNo{ href: '#', title: 'The three canonical section widths' }
nextPostLink | nullNo{ href: '#', title: 'Backgrounds: the four modes and when to use them' }
classNamestringNo''

File this creates

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

text
components/velocity/post-navigation/PostNavigation.astro

Using the Post Navigation (Prev/Next) component

Install it with velocityx add post-navigation. 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.