Back to blocks
BlockeCommerceFree

Wishlist Drawer React component

A product grid with heart buttons that burst when saved, a Wishlist pill with a springy count, and a slide-in drawer listing saved items with variant, sale savings and stock, Move to cart, Notify me for sold-out items, a Share link button, a price drop alert switch and Move all to cart.

About the Wishlist Drawer component

Wishlist Drawer lets shoppers save products with a heart and come back to them without leaving the page. Saving gives instant feedback with a small burst and a count on the Wishlist button.

The drawer lists everything saved with the variant, current price, savings and stock, so it doubles as a shortlist. Items move to the cart one by one or all at once, sold-out items offer a restock alert, and the list can be shared with a link.

When to use it

Use it in stores where people compare and come back later, such as fashion, furniture, gifts or electronics, and for gift lists that friends can open from a shared link.

If most purchases are quick, low-price repeat buys, a wishlist adds a step; a reorder or recently viewed list fits better.

Installation

Add the Wishlist Drawer component to your project with the shadcn CLI. It lands in components/wishlist-drawer.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/wishlist-drawer

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Back-in-Stock Notify
Free
Recently Viewed Products
Free
Low Stock Urgency Badge
Free
Frequently Bought Together
Free
Shipping Estimator
Free
Size Guide Modal
Free