Compose the face from parts. Pass only the last four digits when you can, and put the network mark in CreditCardNetwork.
The sample also uses Card Brand. One command adds them with this item:
virtual-card.tsx
CreditCard
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal""vertical" | "horizontal" | |
| size | "default""lg""sm" | — | |
| variant | "empty""glass""metal""midnight""outline""primary" | — | |
| tint | string | — | The base color under the glass finish (a data color). |
| revealed | boolean | — | Show the full number and CVV (controlled). A Folder sets it for the card inside. |
| default | boolean | false | |
| on | — | ||
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| EnterorSpace | On a reveal toggle: shows or hides the number and CVV. On a Flip: turns the card over. |
|---|---|
| Arrow keys | In a Wallet: picks the next or the previous card. |











