Back to blocks
BlockeCommerceFree

Back-in-Stock Notify React component

A product buy box where picking a sold-out size swaps Add to cart for a restock alert: expected date and people waiting, an Email or Text message switch, validation, a half-size-either-side option and a ringing-bell confirmation, with alert badges on sizes and removable alert chips.

About the Back-in-Stock Notify component

Back-in-Stock Notify keeps a sold-out size from being a dead end. When a shopper picks a size that is gone, the Add to cart button turns into a short form that collects an email or phone number for a restock alert.

It shows when the size is expected back and how many people are waiting, which sets expectations and signals demand. After signing up, the shopper sees a clear confirmation, neighbouring sizes that are in stock and a list of their alerts.

When to use it

Use it on product pages where variants sell out and restock, such as shoes, clothing and limited runs, so you can win back the sale when stock arrives.

If a product is discontinued and will not come back, say so plainly and suggest alternatives instead of collecting alerts you can't fulfil.

Installation

Add the Back-in-Stock Notify component to your project with the shadcn CLI. It lands in components/back-in-stock-notify.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/back-in-stock-notify

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Low Stock Urgency Badge
Free
Wishlist Drawer
Free
Shipping Estimator
Free
Recently Viewed Products
Free
Product Comparison Table
Free
Frequently Bought Together
Free