A banking site that starts in Figma, not in code. Every color, radius, and heading size was decided on an artboard before the first component was built — the website is just the design system, executed.
Overview
Banquee is a frontend-only banking website: a landing page with eleven content sections, a card comparison, a features page, a blog with real article pages, and a support center — all in four locales, including right-to-left Arabic, with every price displayed in the currency that matches the language you're reading.
There is no backend, and that's the point. It's a study in what makes a marketing site feel finished: motion that responds to scrolling, phone demos that play themselves with realistic finger gestures, cards that flip in 3D, and layouts that mirror correctly when the whole page flips direction.
My Role
Two very different kinds of work went into this, and I want to be precise about which was mine:
- UI/UX design — entirely mine. The design system started as a Figma project: a mint-and-ink palette built on tonal surface layering instead of drop shadows, a type scale pairing Sora/Inter with Cairo/Tajawal for Arabic, an 8px spacing rhythm, and component specs for buttons, chips, inputs, cards, and transaction lists. I designed full screens for every website page plus five phone app screens — home, cards, savings, stats, support — which the site's animated demos are modeled on.
- Code implementation — agent-driven, my direction. I directed an AI coding agent to implement the site from my designs, then reviewed, tested, and merged every change it produced. The design decisions, the information architecture, the definition of done, and the quality bar were mine; the typing was automated.
The Problem
Marketing sites are where front-end craft goes to die: a hero, three cards, a footer, and a language switcher that only translates the nav. The hard parts of this project were the parts nobody sees:
- Every section has to mirror, not just translate — Arabic isn't English flipped; spacing, icons, and reading flow all change under RTL.
- Money has to feel local. A German visitor reading "€1.200,50" and an American reading "$1,200.50" are seeing two different formats of the same intent.
- Product demos are usually videos — heavy, unresponsive to reduced motion, and never match the site's design tokens. I wanted demos that were built from the same components as the site.
- Cards and phones mockups are usually flattened images. I wanted cards you could flip and screens that animate — built in CSS, not exported as PNG.
The Solution
Design first, tokens second, pages last:
- A design system as the single source of truth — the Figma work was distilled into a
DESIGN.md(colors, typography, radii, spacing) and then into StyleX tokens (tokens.stylex.ts). No component invents a color or a size; everything resolves to a token. - Tonal layering instead of shadows — depth comes from background-color steps (white cards on grey canvases on tinted sections), so the whole site stays flat, calm, and consistent at any DPI.
- Locale-aware everything — next-intl handles the routing and messages; a centralized currency utility maps each locale to its natural currency (USD, EUR, EUR, SAR) so no component ever formats money itself.
How I Approached the Complex Components
The interesting parts of this project are the ones that look effortless. Here's how each actually works:
The automated phone demos (banking, statistics, savings) are the signature pieces. The naive approach is a GIF or a video embed — but video ignores your design tokens, can't be restyled, and plays identically for users who asked for reduced motion. Instead, each demo is a real component composition: a phone frame, a scripted list of UI "steps" (open app → tap transfer → confirm → done), and a sequencing hook that walks through the steps on a timer. A separate finger-gesture layer draws the taps, swipes, and drags on top so it reads as someone using the app, not a slideshow. Two rules drove the design: gestures must stay inside their demo's stage (a tap indicator never wanders off the phone), and the whole sequence collapses to a static end-state when reduced motion is requested.
The flippable bank cards started as an artboard question — "what does the back of a card look like?" — which became a real 3D flip in CSS: two faces, a shared perspective, and a rotateY transition, with the chip, contactless mark, and card network logos as inline SVGs so they inherit theme colors. Because it's CSS, the flip respects reduced motion and renders crisply at any size.
The hide-on-scroll header is one hook and one rule: a useScrollDirection hook reports which way you're moving, the header translates itself away when you scroll down and returns when you scroll up. The detail that took the longest: while hidden, the header is removed from the tab order entirely — a keyboard user should never tab into an element that isn't on screen.
The comparison table is pure data. The three cards, their fees, rates, and limits live in one typed data module; the table, the "most popular" badge, and the RTL mirroring are all derived from it. Adding a fourth card is a data edit, not a component edit.
How Components Are Structured
Every demo or complex component follows the same four-file split, so the shape of a feature is readable from its folder:
banking-demo/
banking-demo.tsx # composition — phone frame + screens + gestures
demo-tap-indicator.tsx # the finger: tap / swipe / drag visuals
use-demo-sequence.ts # the script: which step plays, and when
demo-data.ts # what the phone screens actually show
Presentation, choreography, and content never live in the same file. That split is also what makes the demos testable — the sequence hook has unit tests proving steps advance and gestures stay in bounds, without rendering a single pixel.
Around that, the structure is conventional and boring on purpose: components/<domain>/ for feature areas (landing, compare, blog, support), components/ui/ for shared pieces (back-to-top, CTAs), components/phone/ for the one shared phone frame all demos reuse, hooks/ and data/ at the root for cross-feature logic, and tests colocated with the component they test.
Tech Stack
| Tech | Role |
|---|---|
| Next.js 16 (App Router) + React 19 + TypeScript | Server components by default, static generation |
| StyleX | Design tokens + component styles, compile-time, RTL through logical properties |
| next-intl | Four locales, RTL routing, message dictionaries |
| Radix UI + Lucide | Accessible primitives (language switcher) and icons |
| Motion | Scroll and gesture-driven animation |
| Vitest + Testing Library + Playwright + axe-core | Unit/component tests; e2e accessibility configured |
What This Project Shows
Design maturity — a full identity system (palette, type, shape, spacing) authored in Figma and enforced through tokens, not vibes. The Arabic experience isn't a translation bolted on; it has its own type pairing.
Front-end rigor — gesture-driven demos built from design tokens instead of video, locale-aware currency with no formatting logic in components, keyboard users treated as first-class, and reduced motion honored everywhere anything moves.
Process honesty — I designed it; an AI agent I directed wrote the code. The craft on display is the design system, the decomposition, and the review discipline that kept a machine-written codebase coherent.
Scope Notes
It's a mockup: no backend, no auth, no payments — account flows are simulated and prices are static content. Playwright and axe-core are configured but the e2e suite hasn't been written yet; unit and component tests (19 files) are the current quality gate.