Back to blocks
BlockeCommerceFree

Gift Card Block React component

A digital gift card section: a live card preview that tilts with the pointer and updates as you type, four code-drawn designs, preset and custom amounts with limits, recipient, sender, send-now-or-later and a message, add to cart, plus a 'Check balance' tab.

About the Gift Card Block component

Gift Card Block sells digital gift cards with a preview that makes the gift feel real: the card shows the amount, the recipient and the sender as they're typed, tilts under the pointer, and switches between four designs.

Everything needed to send it sits on one form, from amount to delivery timing and a message, and a second tab lets people check the balance of a card they already have.

When to use it

Use it on a gift card page, in a holiday campaign, or as a section on the store homepage.

For fully custom cards with uploads and stickers use the Gift Card Designer.

Installation

Add the Gift Card Block component to your project with the shadcn CLI. It lands in components/gift-card-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/gift-card-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Product Carousel Block
Free
Order Summary Block
Free
Mini Cart Drawer
Free
Checkout Form Block
Free
Product Filters Sidebar
Free
Product Quick View Block
Free