Specs

Payment methods card is 173 lines of React with 2 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 Auton tokens.

Component
<PaymentMethodsCard />
Size
800 × 390 px
Icons
Dots, Lock from Ingot Icons
Type
Geist, Geist Mono, 8px, 9px, 10px, 12px, 13px, 14px, 16px, 18px, Regular and Bold
Colours
#666666#333333#ffffff#e2e4e5#777777#e7e9eb
Corner radius
5px, 10px, 20px
Code
173 lines of TypeScript, React only, inline styles, icons included

Use it

import { PaymentMethodsCard } from "./payment-methods-card";

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

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 Auton

Copy to Figma (Pro)Copy React code (Pro)Save
PaginationAuton Pro
Copy to Figma (Pro)Copy React code (Pro)Save
Value blockAuton Pro
Copy to Figma (Pro)Copy React code (Pro)Save
PagerAuton Pro
Copy to Figma (Pro)Copy React code (Pro)Save
ButtonAuton Pro

Guides