Velocity X Components

E-Commerce

Recently Viewed Row

Horizontally scrolling rail of small product tiles using native scroll-snap, no carousel library.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add recently-viewed-row

Built for astro.

Full docs for Recently Viewed Row →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
titlestringNo'Recently viewed'
productsItem[]Yes
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/recently-viewed-row/RecentlyViewedRow.astro

Using the Recently Viewed Row component

Install it with velocityx add recently-viewed-row. 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.