Specs

Credit card widget is 110 lines of React with 3 Ingot icons, set in Geist, Geist Mono. It needs no packages beyond React, so it works in Next.js, Vite or Remix as pasted, and its colours can be swapped for your Vantage tokens.

Component
<CreditCardWidget />
Size
400 × 505 px
Icons
Copy, File invoice, Pause circle from Ingot Icons
Type
Geist, Geist Mono, 10px, 12px, 13px, 14px, 15px, 17px, 20px, 21px, Regular and Medium
Colours
#8a8a8a#dadada#2e2e2e#ededed#232323#7b5bff
Corner radius
2px, 2.5px, 5px, 6px, 7px
Code
110 lines of TypeScript, React only, inline styles, icons included

Use it

import { CreditCardWidget } from "./credit-card-widget";

export default function Page() {
  return <CreditCardWidget />;
}

Accessibility

Notes for all cards and panels components (category level). Target: WCAG 2.2 AA.

Structure
The card title should be a heading at the right level for your page.
Keyboard
Every action in the card is a button or link, reachable with Tab.
ARIA
Icon-only actions need an aria-label; decorative icons stay aria-hidden.

Before you ship it

  • The generated code draws the design only: <div>s, text and aria-hidden icons, with no buttons, inputs, roles or ARIA. That is why it matches Figma closely, and why you add behaviour when you wire it up.
  • Swap drawn buttons and links for real ones; if the whole card is clickable, use one link and keep other actions outside it.

How we test and what’s known: accessibility statement.

More cards and panels in Vantage

Copy to Figma (Pro)Copy React code (Pro)Save
Plan rowsVantage Pro
Copy to Figma (Pro)Copy React code (Pro)Save
RenewalsVantage Pro
Copy to Figma (Pro)Copy React code (Pro)Save
RenewalVantage Pro
Copy to Figma (Pro)Copy React code (Pro)Save
MRR sectionVantage Pro

Guides