17 adaptive layouts
Every screen works from a 320px phone to a 4K desktop, with its structure changing where the design needs it to rather than simply stretching.
The first of two projects for the same client: a WhatsApp-inspired money transfer interface taken 1:1 from Figma into React, using Material UI and nothing else, across 17 layouts from a 320px phone to a 4K screen.

The WhatsApp Money Transfer Interface is a WhatsApp-inspired money transfer front end I built for a client, taking their Figma file 1:1 into React and Material UI.
It was the first of two consecutive projects for the same client. The screens follow the Figma file across 17 adaptive layouts, from 320px phones to 4K desktops, and the whole interface uses Material UI components on React and Vite, with no second styling system next to it. Colours, spacing and type come from the design file through the MUI theme, and the micro-interactions match the client's original prototypes.
The landing page shows the idea at a glance: a "No need to double-check recipient details" headline, surrounded by chat-style message bubbles that carry money transfer links. Behind it, the same components shrink to a phone with touch targets of at least 48px and grow to a large monitor without losing the proportions the designer set.
The client came with a finished Figma design for a WhatsApp-inspired money transfer interface and wanted it in React, with nothing lost on the way from design file to code.
The design file was the agreement: spacing, type sizes, icon weights and the small animations in the prototype were all expected to come through into code unchanged. What a Figma file cannot show is how a layout should behave at the widths nobody drew, and when the subject is money, a page that overlaps on someone's phone makes the product look less trustworthy.
The other requirement was about the code after handover. The client asked for an implementation built on Material UI alone, so the people maintaining it later would find one component system rather than MUI mixed with custom CSS written screen by screen. That closed off the usual shortcut for pixel-perfect work, adding one-off styles until a page matches the mockup, so the accuracy had to come from the MUI theme and its layout tools.
| Before WhatsApp Money Transfer Interface | With WhatsApp Money Transfer Interface |
|---|---|
| A finished Figma file drawn at fixed frame widths | 17 adaptive layouts from a 320px phone to a 4K desktop |
| Colours, type and spacing held only in the design file | The same values in one MUI theme that every component reads |
| Micro-interactions that existed only in the prototypes | Micro-interactions rebuilt in React to match the prototypes |
| No rule for the widths nobody drew | Fluid grids and useMediaQuery deciding every width in between |
The brief I set myself
I took the design from Figma to working React; the visual design itself was the client's, and my job was to make the code agree with it.
That covered turning the design file into an MUI theme, building the components and screens, deciding how each layout responds between breakpoints, and recreating the micro-interactions from the client's prototypes. The test for every screen was the same: does it still look like the Figma frame on a 320px phone, on a 4K monitor, and at the widths in between.
| Theme | The Figma colours, type scale, spacing and corner radii moved into the MUI theme, with MUI's component defaults overridden there too. |
|---|---|
| Components | Every component and screen of the interface, each written once and shaped by the theme breakpoints. |
| Responsive layout | 17 adaptive layouts on fluid MUI grids and useMediaQuery, from 320px phones to 4K desktops. |
| Interaction | Micro-interactions recreated from the client's prototypes, and 48px minimum touch targets on mobile. |
| Handover | A Material UI only codebase, which became the foundation for the client's second project. |
Every feature of the interface serves one of two promises: match the Figma file exactly, and keep doing so on any screen from a 320px phone to a 4K desktop.
Adaptive layouts
17
Layouts from a 320px phone to a 4K desktop, each following the Figma file, built from one set of components rather than one copy of each screen per layout.
Every screen works from a 320px phone to a 4K desktop, with its structure changing where the design needs it to rather than simply stretching.
Colours, spacing and type come from the design file through the MUI theme, so the screens match the frames the client approved.
Tappable controls are at least 48px on mobile, so a payment action is easy to hit on the smallest screen.
Text and icons scale with the screen, keeping the proportions the designer set at any width.
Fluid MUI grids handle proportional reflow, and useMediaQuery switches the arrangement where a layout needs a different structure.
The small animations in the client's original prototypes are rebuilt in React to match.
The codebase has a single component system to learn and maintain, with no custom CSS written screen by screen.
Four decisions shaped the build: where the design values live, how layouts respond between breakpoints, how type and icons scale, and how quickly a change could be checked.
Theming
Because the build had to be MUI only, the theme was the one place the design could live. I moved the Figma colours, type scale, spacing and corner radii into the theme, and overrode MUI's own component defaults there too. A value that changed in Figma then changed in one file, and every button, input and card picked it up without a per-screen fix.
Layout
Covering 320px to 4K with three or four breakpoints would have left long stretches where a layout was simply stretched past what the design intended. Fluid MUI grids handle the proportional reflow, and useMediaQuery switches the structure at the points where a screen needs a different arrangement, which is how the project ended up with 17 adaptive layouts rather than a handful of stretched ones.
Scaling
Sizes copied straight from a Figma frame are only correct at that frame's width. Text and icons here scale with the screen, so the proportions between a heading, its label and its icon stay the way the designer set them on a small phone and on a large monitor.
Tooling
Most of the work was comparing a component against the design at one width, resizing, and comparing again. Vite's dev server and hot reload kept that loop short, and on a project judged on pixel accuracy, a short loop meant more of those checks got done.
| Technology | What it does in WhatsApp Money Transfer Interface |
|---|---|
| React | The components and screens of the interface, each written once. |
| Material-UI | The only component system: the theme holds every Figma value, and useMediaQuery drives the 17 layouts. |
| Figma | The client's design file and prototypes, the reference every screen was checked against. |
| Vite | The dev server and hot reload behind the short compare, resize and compare loop. |
Three of the hard parts: reaching 17 layouts without copying screens, keeping controls tappable at 320px, and matching the mockup without leaving Material UI.
Problem
The fastest way to hit 17 layouts is to write a version of each screen per layout. It meets the spec on day one and turns every later change into 17 changes.
Solution
Each component is written once and takes its shape from the theme breakpoints, fluid grid sizing and useMediaQuery. Where a screen needs a different structure, the switch happens inside that component, so there is still one place to edit.
Problem
Controls that look well proportioned on a large screen can end up too small to tap reliably once a layout shrinks to 320px, and a mis-tap on a money transfer screen is worse than a mis-tap almost anywhere else.
Solution
I set a 48px minimum for touch targets on mobile and applied it from the mobile layout upward, so small screens were the starting point and larger ones inherited the same tappable areas.
Problem
Material UI ships with its own opinions on padding, input heights and type, and those rarely line up with a custom design. Patching the gaps with loose CSS would have broken the one rule the client was firm about.
Solution
The corrections went into the theme as component overrides and default props, so a stock MUI component renders the Figma version wherever it is used. The same theme-first habit carried into the Material UI dashboards in my Team Management System.
The client received a React and Material UI interface that follows the Figma file across all 17 layouts, delivered 40% faster than projected.
Responsive QA issues dropped by 78%, and the codebase kept to the Material UI only rule the client had set for maintainability. In the client's words: "The precision of this responsive implementation set the standard for our subsequent collaboration."
That subsequent collaboration was WhatsApp Plus 2.0, a follow-up interface that reused 60% of these MUI components. The theme and component set from this project became its starting point.
On another pass I would add visual regression tests at each of the 17 layouts, so a theme change could be checked against the Figma frames automatically rather than by eye. The component library itself already had its next use: it is the base that the second project for this client was built on.
Short answers to the questions clients and developers ask most about this Figma to React money transfer interface.
It is a WhatsApp-inspired money transfer front end I built for a client, taking their Figma design 1:1 into React and Material UI. It runs across 17 adaptive layouts, from a 320px phone to a 4K desktop, and was the first of two consecutive projects for the same client.
No. It is a WhatsApp-inspired interface built for a client from the client's own Figma design. The chat-style look is part of that design; it is not a WhatsApp or Meta product.
React and Material UI on Vite, built from a Figma design file. Material UI is the only component system in the codebase: the theme holds the design values, and fluid grids plus useMediaQuery handle the layouts.
It has 17 adaptive layouts covering everything from a 320px phone to a 4K desktop. Fluid MUI grids handle the proportional reflow between them, and useMediaQuery changes the structure where a screen needs a different arrangement.
The client asked for it, so the people maintaining the code later would find one component system rather than MUI mixed with custom CSS written screen by screen. The accuracy came from the MUI theme and its component overrides instead of one-off styles.
It came first. The client came back for WhatsApp Plus 2.0, a follow-up interface that reused 60% of these MUI components, and the theme and component set from this project became its starting point.
Muhammad Abdullah Awais, a full-stack developer based in Pakistan. I was the frontend developer, taking the client's design from Figma to working React, and I am available for freelance and full-time frontend work.
A follow-up WhatsApp-inspired interface that reused 60% of an existing MUI library and hit a 92 Lighthouse mobile score.
Read the case studyA MERN team management system with Admin, Manager and Team Member roles, a Kanban board and per-role analytics.
Read the case studyA Next.js gym management dashboard with member, trainer and admin workspaces, built as a frontend demo on mock data.
Read the case studyI work remotely with teams in the US, Canada, the UK, Europe and the Gulf, and with clients across Pakistan. Based in Pakistan (PKT, UTC+5), available for freelance and full-time roles.