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

Payment Methods

Saved cards list with mini drawn cards, a default badge, set default, remove with inline confirm, and a validated add-card form in a side sheet (also exported inline).

Preview

Payment methods

  • Credit
    •••• •••• •••• ••••
    Card holderInes AlvarezExpires08/28
    CVC
    The three digits by the signature strip confirm you hold the card.
    Credit ending 1867DefaultInes Alvarez · Expires 08/28
  • Debit
    •••• •••• •••• ••••
    Card holderInes AlvarezExpires11/27
    CVC
    The three digits by the signature strip confirm you hold the card.
    Debit ending 5519Ines Alvarez · Expires 11/27
  • Credit
    •••• •••• •••• ••••
    Card holderPebbleExpires02/29
    CVC
    The three digits by the signature strip confirm you hold the card.
    Credit ending 0042Pebble · Expires 02/29

Add card opens this form in a side sheet.

Add a card (inline)

Credit
•••• •••• •••• ••••
Card holderYour nameExpiresMM/YY
CVC
The three digits by the signature strip confirm you hold the card.
On the back; the card flips to show it.

Install

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

Props

PropTypeDefaultDescription
cards / onCardsChange{ id; last4; expiry; name; network?; tone? }[] / (cards) => void—Controlled saved cards; add and remove go through onCardsChange.
defaultId / onDefaultChangestring | null / (id) => void—The default card; removing it promotes the next one.
addOpen / onAddOpenChangebooleaninternalAdd-card side sheet state.
titlestring"Payment methods"Section heading.
AddCardPanel{ onSave; onCancel?; existing? }—The validated add-card form on its own, for inline use.

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 ↗