Back to blocks
BlockeCommerceFree

Newsletter Discount Modal React component

A newsletter sign-up popup with a first-order discount: a sample issue on paper, weekly or drops-only frequency, interest chips and an email field, then a stamped letter and a perforated coupon ticket with copy, apply to cart and an expiry countdown, plus a corner teaser if it's dismissed.

About the Newsletter Discount Modal component

Newsletter Discount Modal is the sign-up popup a store shows to new visitors: join the email list and get money off the first order. Instead of a bare email box, it shows a sample of the newsletter on paper so people can see what they're signing up for, and lets them choose a weekly letter or drop alerts only.

When they join, a rubber stamp lands on the letter and the code appears on a coupon ticket with a copy button, an Apply to cart button and a countdown to when it expires. If someone closes it without signing up, a small offer pill stays in the corner so they can come back to it later.

When to use it

Use it on an online shop's home, collection or product pages to grow the email list with a first-order discount.

Open it after a few seconds or on exit intent rather than straight away, and keep the discount and expiry honest: they're on the ticket for everyone to see.

Installation

Add the Newsletter Discount Modal component to your project with the shadcn CLI. It lands in components/newsletter-discount-modal.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/newsletter-discount-modal

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Category Carousel
Free
Cart Offer Modal
Free
Featured Categories Banner
Free
Welcome Offer Modal
Free
Icon Category Nav
Free
Store Navigation
Free