Payment Method Card Selector
A production-scale, light + dark Payment Method Card Selector component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add payment-method-card-selectorLive preview available in the gallery.
Usage
import { PaymentMethodCardSelector } from "@lerpa/ui";
<PaymentMethodCardSelector />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| cards | SavedCard[] | — | |
| defaultSelected | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.