Componentmedia
Gift Card
Gift card with ribbon stripe, amount and balance bar.
Preview
Live Preview

25%
Premium Headphones
$299$399
Jordan Daisy
Product Designer
AvailableRemote

The Future of Design Systems
Alex Rivera8 min read
Oc
t 14
Tech Conference 2026
21:00
Berlin Arena
Invoice #INV-2026-0987draft
Date: 2026-09-15Due: 2026-10-15
| Item | Qty | Price |
|---|---|---|
| Design Services | 1 | $150 |
| Development Hours | 5 | $100 |
SubtotalNaN
Tax (10%)NaN
TotalNaN
THERMAL RECEIPT#PEBHTI
Design Consultation$150
Development Hours$200
Total$385.00
Thank you for your purchase!
Subtotal$377.00
Tax$30.16
Total$407.16
Color
Size
✓✓✓✓✓✓
Order #102938Processing
Design Services1x
Development5x
VIP
LOYALTY TIER
$100
Jordan Daisy
Happy Birthday!
J
Jordan Daisy
Product Designer
UX
Badge: EMP-8942
Wedding Reception
Please confirm your attendance
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add gift-cardOr install the full npm package:
npm install bigbulluiUsage
import { GiftCard } from "@/components/ui/gift-card";
<GiftCard />Source code
gift-card.tsxZero dependencies (only React + utils). Copy and paste directly into your project:
"use client";
import * as React from "react";
import { cn } from "./lib/utils";
export interface GiftCardProps {
amount: string;
recipient: string;
message?: string;
className?: string;
}
const RibbonEnter = "gift-card-ribbon-enter";
const FadeIn = "gift-card-fade-in";
export function GiftCard({
amount,
recipient,
message = "Happy Birthday!",
className,
}: GiftCardProps) {
return (
<div
className={cn(
"rounded-lg border border-foreground bg-card text-card-foreground p-6 relative overflow-hidden transition-all duration-300 hover:translate-y-1 hover:shadow-lg motion-reduce:transition-none motion-reduce:translate-y-0 motion-reduce:shadow-none",
className
)}
>
{/* Amount badge */}
<div
className={cn(
"absolute -top-1 -right-1 rounded-xl bg-accent text-accent-foreground text-xs font-bold uppercase tracking-wider px-2 py-1",
RibbonEnter
)}
>
{amount}
</div>
{/* Recipient name */}
<h4 className="font-medium line-clamp-2 mt-4">{recipient}</h4>
{/* Message */}
<p className="text-sm text-muted-foreground line-clamp-2 mt-2">{message}</p>
{/* Decorative ribbon */}
<div
className={cn(
"absolute -bottom-1 -left-1 w-12 h-0.5 bg-accent",
RibbonEnter
)}
/>
</div>
);
}Props
| Prop | Type | Description |
|---|---|---|
| amount | string | Gift value string (required). |
| recipient | string | Recipient name (required). |
| message | string | Personal message line. |