Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsE-commerce

Coupon Card

Ticket-shaped coupon with a masked perforated edge, mono code with copy, live expiry countdown, terms disclosure, applied and expired states, and a canvas scratch-to-reveal variant with a Reveal button.

Preview

20%offEnds in 2d 5h

Autumn studio sale

On orders over $80, everything in Home.

AUTUMN20

$15offEnds in 6h 0m

Welcome back

Your next order, no minimum.

HELLO15
Applied

?mystery

Mystery reward

Scratch the foil, or press Reveal.

LUCKY-7Q4KCode hidden

10%offExpired

Summer shipping

Free express on orders over $50.

SUNNY10

Copy a code, apply it, or scratch the mystery card

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
value / unitstring— / "off"Big value and small unit on the ticket stub.
title / descriptionstring—Offer title (names the card) and a short description.
codestring—Coupon code, shown in mono with a copy button.
expiresAtDate | number | string—End time; the stub chip counts down and the card expires.
nowDate | number | string—Time to count from on first paint (deterministic); ticks advance from it.
status / defaultStatus / onStatusChange"available" | "applied" | "expired""available"Coupon state, controlled or not.
onApply(code: string) => void—Called by Apply.
termsstring[][]Terms listed in the disclosure.
variant"standard" | "scratch""standard"Scratch hides the code under canvas foil, with a Reveal button.
tone"accent" | "ink""accent"Stub colour.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗