Velocity X Components

Cards & Expandables

Product Spec Card

A compact product tile built for a side-by-side comparison row — image, title, price with an optional strike-through, and a short spec list that stays readable at small widths. Lighter than a full product-detail panel, denser than a storefront grid card.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add product-spec-card

Built for astro.

Full docs for Product Spec Card →

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

astro v1.0.1

Props

NameTypeRequiredDefaultDescription
imagestringYes
imageAltstringYes
titlestringYes
pricestringYes
originalPricestringNo
badgestringNo
specsSpec[]No[]
ctaLabelstringNo
hrefstringNo
classstringNo''

File this creates

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

text
components/velocity/product-spec-card/ProductSpecCard.astro

Using the Product Spec Card component

Install it with velocityx add product-spec-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.