Skip to work
BLR 11:18 IST, 25 degrees, overcast

    Adheet Patil

    Product designer

    I love creating efficient, functional, yet delightful interfaces that make technology easier for everyone. I design and build, Open tokenmaxxing.sh (opens in a new tab) (GitHub: 729 contributions in the last 6 months, and 35B+ AI tokens). Right now, I’m helping build Open spotnana.com (opens in a new tab) (Since 2023, I’ve shipped 120+ features across 13+ product areas. I’ve also rebuilt the product and its design system more than once, most recently in code).

    Prototype
    1 of 4

    Designing in code: the prototype · 2026

    A prototype in code that our whole design team now designs in

    Figma showed how things looked, not how they behaved. So in Jan ’26 I started teaching myself to code by rebuilding our product with AI. It grew into the place our design team designs, reviews and hands off.

    team
    Me, then the whole design team
    scope
    Our whole product in code: 400+ pages across 15 product areas

    01 · Problem

    Figma showed how it looked, not how it behaved

    Figma is great at the look. You can draw every state, every variant and every screen size.

    But you can’t click through a flow with real data in it.

    So what shipped often didn’t match the design, and getting an idea in front of a PM or a user meant waiting for an engineer.

    02 · Exploration

    First, I tried to automate Figma to code

    I tried to automate the path from design to code at every level of our design system, from tokens up to QA.

    I set up an AI agent with our coding rules. It linked our Figma components to the real code, built new components about 95% the same as the engineers’, and built screens from our real components. Token sync needed Figma’s Enterprise plan.

    It worked. Engineering just didn’t have the time to take it further.

    The turning point

    So I stopped waiting. If nobody had time to build it, I’d learn to build it myself.

    03 · Decision

    So I learnt to code and built it myself

    With all the noise about AI, I wanted to actually learn to code and ship on GitHub. So I started from scratch, the way a real product is built: on our design system, responsive, light and dark, with motion.

    My first commit was in Jan ’26. In the last six months alone I’ve made 729 contributions.

    04 · Insight

    Real data is what made it stick

    Then I shared a prototype for one of our most complicated projects.

    And people loved it.

    PMs and engineers could click through the edge cases, try different variations and see the real thing, not a picture of it. Soon other designers wanted their projects in it too.

    Editing a group’s air rules in the prototype
    The same rule as a flow in the prototype

    05 · Decision

    I chose guardrails over speed

    More people in meant more ways to break it.

    So we put guardrails in early: a rulebook that keeps every AI-built page on our own components and tokens. Anyone can contribute without drifting off-brand.

    the cost: weeks at the start, when AI was far less reliable.

    06 · Decision

    I chose to teach the team, not build for them

    A rulebook is useless if nobody can build. Most of the team had never touched code.

    So I ran sessions, paired with people one by one, and wrote a doc on building with AI: what AI is, Claude or Cursor, Git, and your first pull request.

    the cost: a lot of calls and a lot of pairing.

    A note from a designer in the design channel
    A note from a designer on the team, in our design channel.

    07 · Decision

    I chose one shared prototype over many

    Once people could build, the next question was where.

    Instead of a repo per project, every project lands in the same prototype, on the same components. Because everything’s connected, handoff and design QA happen there too: engineers inspect the real page, and we check their build against it.

    the cost: shared code needs a review before anything merges.

    08 · Process

    Figma to explore, the prototype to prove

    With everyone in one place, the way we design changed.

    Figma is still where we go wide. A prototype is one direction at a time, so we explore in Figma, then build the pick with real data, states and motion.

    09 · Process

    Try every option in the prototype

    We also use the prototype to experiment: different layouts, colours and content, and every edge case we can think of.

    Seeing them side by side on real data is how we land on the final design. It’s much easier to see what works where.

    Insights in the prototype, trying options on real data. Recorded.

    10 · Result

    Designing ahead of production

    Production shows what customers have today. The prototype shows where we’re going, on the same components, so engineering can pick it up when it’s time.

    A tour of the prototype: Home, search, Insights, policy, Trips, Dev Mode and Sandy. Recorded at 2× speed.
    Outcome

    By Oct ’26 the prototype had 400+ pages across 15 product areas, and the whole design team builds in it. A feature now goes from kick-off to a working prototype in as little as a week. Side effect: I now ship small fixes to our frontend too.

    Best viewed with curiosity.Best viewed with curiosity. Even better on a desktop.