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 componentsCore inputs & forms

Card field

A card number, expiry and CVC field group with as-you-type grouping, Luhn and expiry validation, network detection as a text tag, auto-advance between parts and clear error states.

Preview

Payment method

$148.00 / month
Card

Your card is charged only when you confirm.

Try 3782 822463 10005 for a 15-digit card with a 4-digit CVC.

Saved card
Visa

Visa ending in 4242 is ready.

Needs attention
Mastercard

Card number is invalid. Check the digits.

Install

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

Props

PropTypeDefaultDescription
onValueChange(value: CardValue) => void—{ number, expMonth, expYear, cvc, network, complete } on every edit.
nowDateclient clockReference for the expired check; pass it for stable SSR.
defaultValue{ number?, expiry?, cvc? }—Prefill, e.g. a saved card; expiry as "MM/YY".
disabledbooleanfalseDims and disables all three parts.
aria-labelstring"Card details"Name of the field group.

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 ↗