Velocity X Components

Cards & Expandables

Download Resource Card

A content-offer tile for a resource library or lead-magnet grid — file type badge, title, short description, locale-formatted size, and a download action. Built for a standalone promotional grid, not a stacked attachment list.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add download-resource-card

Built for astro.

Full docs for Download Resource Card →

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

astro v1.0.1
Download Resource Card
PDF 4 MB

2026 Pricing Benchmark Report

A 40-page breakdown of SaaS pricing models across 200 companies, with annual vs monthly conversion data.

Download

Props

NameTypeRequiredDefaultDescription
titlestringYes
descriptionstringNo
fileTypeFileKindNo'generic'
sizeBytesnumberNo
downloadHrefstringYes
downloadLabelstringNo'Download'
classstringNo''

File this creates

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

text
components/velocity/download-resource-card/DownloadResourceCard.astro

Using the Download Resource Card component

Install it with velocityx add download-resource-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 Cards & Expandables.