Velocity X Components

Content & Dashboard

Featured Post Hero Card

Full-bleed editorial hero card for a pinned blog post with a solid scrim over the cover image for legibility.

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

Built for astro.

Full docs for Featured Post Hero Card →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
hrefstringNo'#'
titlestringNo'Velocity X: the JSON-driven page layer behind every brand port'
excerptstringNo'One template, every brand swappable via config. The architecture, the gotchas, and why the home page is the deliberate exception.'
categorystringNo'Featured'
coverSrcstringNo
coverAltstringNo''
authorNamestringNo'Aiden Wood'
datestring | DateNonew Date()
readTimeMinsnumberNo9
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/featured-post-hero/FeaturedPostHero.astro

Using the Featured Post Hero Card component

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