Velocity X Components

E-Commerce

Product Card — Grid

Catalogue grid tile with image, title, rating, price with compare-at discount badge, and an out-of-stock overlay.

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

Built for astro.

Full docs for Product Card — Grid →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
productProductYes
hrefstringYes
localestringNo'en-AU'
classNamestringNo''

File this creates

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

text
components/velocity/product-card-grid/ProductCardGrid.astro

Using the Product Card — Grid component

Install it with velocityx add product-card-grid. 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 E-Commerce.