Velocity X Components

Content & Dashboard

Blog Post Card

Vertical blog post card with cover image, category eyebrow, title, excerpt, and author/date/read-time meta row.

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

Built for astro.

Full docs for Blog Post Card →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
hrefstringNo'#'
titlestringNo'Shipping faster with a JSON-driven page layer'
excerptstringNo'How we cut a brand port from two weeks of Astro edits down to a single config swap.'
categorystringNo'Engineering'
coverSrcstringNo
coverAltstringNo''
authorNamestringNo'Aiden Wood'
authorAvatarSrcstringNo
datestring | DateNonew Date()
readTimeMinsnumberNo6
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/BlogPostCard.astro

Using the Blog Post Card component

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