Skip to content

Case study

Travel, built into Allot's card issuing.

Allot is a spend-management product for businesses. In Allot Cards, finance admins issue prepaid corporate cards to their staff. I designed the travel card experience: pick Travel, and the card comes set up for the trip.

Role
Product designer: strategy, Figma design, and every product call in the build
Built with
Claude Code, Figma MCP, Next.js, Tailwind, Vercel
Build
About 14 hours, 33 commits
Quality
Zero axe violations on 18 screens, 355 phone checks

Why travel

What if card issuing fit what the card is for?

Most card-issuing flows treat every card the same: a name, a limit, some restrictions. But a card for software subscriptions and a card for a client trip need different things. That was the question I started from: what if the issuing experience adapted to the card's use?

In Allot, every category already changes something small, like the example name: “Meta Ads Budget” for Marketing, “Design Tools” for Subscriptions. Travel is the one I built out fully, because a trip asks the most of a card. It's needed quickly, it's spent with airlines and hotels, and often in another country and another currency.

Category
Merchant categories
AirlinesHotels

Suggested for travel cards. Remove one, then switch category.

London Client VisitVirtual
Allot
Sarah KhanPREPAID
Category
Travel
Card limit
AED 5,000
Merchant categories
Airlines, Hotels
Live: switch categories to see each one change the card, then remove a suggestion and switch again. Built from the prototype's own components and rules.

Travel lives inside the existing issuing flow rather than a separate workflow, so admins keep one way to issue cards. Choosing it suggests a card name, adds a merchant-category restriction pre-filled with Airlines and Hotels, and updates the live preview. The admin can edit or remove every suggestion. Virtual cards come first, so a card is usable the moment it's issued. Approvals, physical card delivery and post-trip reconciliation were out of scope.

How I built it

Designed in Figma, built with Claude Code.

Claude Code read the Figma file through the Figma MCP and built the product in five stages, each approved by me in the browser before the next. I set the rules it worked to: tokens as the only source of colour, a fixed icon and button system, and a build log after every session. I made the product calls, and every change shipped with browser tests.

  1. Stage 0Setup and brand
  2. Stage 1Tokens and components
  3. Stage 2Cards list
  4. Stage 3Issuing flow
  5. Stage 4Success and list update

Decision 1

Never cut a cardholder's name until there's no other option.

Names in the Gulf and West Africa often run to four or five words. The name uses the whole bottom row of the card, running over the ring art at about 10:1 contrast. If it still doesn't fit, it shrinks smoothly to 13.5px, and only then truncates.

London Client VisitVirtual
Allot
Mohammed Abdullah Al MansouriPREPAID

Name size:

Tradeoff: art behind text, in exchange for names people can read.

Decision 2

A disabled-looking button that still explains itself.

Issue card looks disabled until the form is complete, as designed, but it's built with aria-disabled so it stays focusable and pressable. Pressing it shows every error, scrolls to the first, and starts a footer line that counts down as fields are fixed.

Cardholder
Not set
Card format
Not set
Card limit
Not set
Press Issue card while the form is incomplete.

Tradeoff: the button looks unavailable but isn't, so its look signals progress without ever becoming a dead end.

Decision 3

Make it work on phones without changing desktop by a pixel.

The design was desktop-only. On phones, the table becomes a list of cards, filters and multi-selects open as bottom sheets, and the preview becomes a slim bar. Inputs are 16px so iPhones don't zoom in on focus, which I caught testing on my iPhone in Safari.

You're on a phone already, so try it full screen.

Open the prototype

Tradeoff: tablets keep the desktop table, so there's one mobile pattern instead of two.

Proof: 0 pixels changed across 18 desktop screenshots.

Impact

What a Figma file can't show.

A reviewer can issue a travel card end to end, test it with long names, other currencies and a keyboard, and read my reasoning with Design notes on.

What I'd do differently

Next time, and next.

  • Design phone patterns alongside desktop from the start.
  • Take the card past issuance: card details, freeze and unfreeze, and post-trip reconciliation.

Issue a travel card yourself.

No sign-up, and it works on your phone. Turn on Design notes in the prototype to see the reasoning behind each part of the form.

Open the prototype
  1. 1Open the cards listWhere every card in the company lives
  2. 2Choose New cardThe issuing flow opens on one long form
  3. 3Pick Travel as the categoryWatch the card set itself up