Velocity X Components

Content & Dashboard

Blog Post Card (Horizontal)

Image-left, content-right post card for dense list views that stacks to image-top on mobile.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add blog-post-card-horizontal

Built for astro.

Full docs for Blog Post Card (Horizontal) →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
hrefstringNo'#'
titlestringNo'Why we moved the header nav into brand.json'
excerptstringNo'A hardcoded nav object meant every fork inherited Aidxn\'s menu. Here\'s the data-driven fix.'
categorystringNo'Architecture'
coverSrcstringNo
coverAltstringNo''
datestring | DateNonew Date()
readTimeMinsnumberNo4
localestringNo'en-AU'
headingLevel1 | 2 | 3 | 4 | 5 | 6Yes
dateFormatter(date: Date) => stringNo
classNamestringNo''

File this creates

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

text
components/velocity/blog-post-card-horizontal/BlogPostCardHorizontal.astro

Using the Blog Post Card (Horizontal) component

Install it with velocityx add blog-post-card-horizontal. 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.