E-Commerce
Stock/Availability Indicator
Dot-and-label status line that derives in-stock/low-stock/out-of-stock from a quantity and threshold, or accepts an explicit status.
Needs a licence key —
subscribe here, then
velocityx loginonce.
Stock/Availability Indicator
Live preview of the Stock/Availability Indicator component
The code ships with Velocity.
Every component's full source — copy-paste ready, yours to edit — comes with any Velocity package. Buy once, own the code forever.
Get Velocity X — from $1,250 See all packages →Using the Stock/Availability Indicator component
Every Velocity component is plain Astro or React markup styled with Tailwind utility classes. There is no proprietary runtime and no design-system wrapper to adopt — the component inherits whatever colour and type tokens your project already defines.
More E-Commerce components
Browse all →Variant Swatch Picker
Colour swatch and size button picker with per-combination availability so unavailable sizes show struck-through instead of disappearing.
Quantity Stepper
Numeric stepper with min/max clamping, direct type-in and a disabled state, used across cart and PDP.
Add to Cart Button
Primary CTA with loading, success checkmark and error states around an async add-to-cart handler.
Cart Line Item
Single cart row with thumbnail, variant text, quantity stepper, line total and a fade-out remove action.
Cart Drawer
Right-docked cart drawer on desktop and a three-snap-point bottom sheet on mobile, with no backdrop-blur scrim, focus trap and Escape to close.
Cart Summary / Order Totals
Order totals block listing subtotal, shipping, tax and discount rows that only render when passed, plus a grand total.









