Back to blocks
BlockeCommerceFree

Promo Banner Block React component

A sale banner for store pages: a big headline that rises in word by word, a copyable discount code, a shop button, a live countdown to a real end date (hidden after it ends), terms, and a collage of product photos that drifts with the pointer next to a springy '40% off' sticker.

About the Promo Banner Block component

Promo Banner Block announces a sale with everything a shopper needs in one panel: what's discounted, the code to use, when it ends and a button straight into the sale.

The countdown is honest: it counts down to a real end date and disappears afterwards. Product photos drift gently with the pointer and the sticker springs in, so the banner feels alive without blinking or shouting.

When to use it

Use it on a store homepage, a collection page or a campaign landing page during a time-limited promotion.

For a thin message across the top of every page use the Announcement Banner; for a pop-up offer use the Welcome Offer Modal.

Installation

Add the Promo Banner Block component to your project with the shadcn CLI. It lands in components/promo-banner-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/promo-banner-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Trust Badges Block
Free
Category Grid Block
Free
Related Products Block
Free
Product Highlight Block
Free
Product Quick View Block
Free
SEO-ready
Product Detail
Free