Live preview from the React code. Hover the marks, rows and tabs.
Build it with your agent
Copy the setup prompt once per project, then the prompt for this component. Works with Claude Code, Cursor, VS Code and Codex through the Ingot MCP.
1Set up Ingot UI
Set up Ingot UI in this project. 1. Connect the Ingot UI MCP server by running: claude mcp add --scope user --transport http ingot-ui https://mcp.ingotui.com/mcp --header "Authorization: Bearer YOUR_API_KEY" Replace YOUR_API_KEY with my key from https://ingotui.com/account (ask me for it if you don't have it). 2. Call the Ingot UI tool init_project for the Montra system and write every file it returns (token CSS, CLAUDE.md, AGENTS.md, .cursor/rules/ingot.mdc). 3. From now on build UI from Ingot components and the --fu-* tokens, never raw hex colours, and run audit_ui before you finish.
2Build this component
Add the Ingot UI "Account, Amex Business Savings card" (charts, Montra system) to this project. Use the Ingot UI MCP: call get_component_code with slug "montra-account-amex-business-savings-card-3825532" and write the file to the path it returns. Then place it where I need it, keep my existing layout, use the --fu-* tokens for anything new, and run audit_ui when you're done.
Specs
Account, Amex Business Savings card is 52 lines of React with 2 Ingot icons, set in Geist. 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 Montra tokens.
- Component
<AccountAmexBusinessSavingsCard />- Size
- 339 × 226 px
- Icons
- Dots, Piggy bank from Ingot Icons
- Type
- Geist, 10.5px, 11px, 13px, 22px, Regular and Medium
- Colours
- #8e83fd#ffffff#6b6b6b#18b170#ededed#fefefe
- Corner radius
- 4.5px, 6px, 7.5px, 11px
- Code
- 52 lines of TypeScript, React only, inline styles, icons included
Use it
import { AccountAmexBusinessSavingsCard } from "./account-amex-business-savings-card";
export default function Page() {
return <AccountAmexBusinessSavingsCard />;
}Accessibility
Notes for all charts components (category level). Target: WCAG 2.2 AA.
- Text alternative
- Give the SVG role="img" and an aria-label that states what it shows and the key numbers (for example “Revenue by month, highest in March at $42k”), or add a visually hidden table of the values.
- Colour
- Series must be told apart by more than colour: labels, a text legend or patterns.
- Keyboard
- Only needed if points are interactive; then each must be focusable with its value announced.
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.
- Axis labels and values in the generated SVG are drawn shapes, so screen readers get nothing until you add the text alternative.
How we test and what’s known: accessibility statement.
