Design × AI · Portfolio

Building this site

How I designed and built aviral.design in conversation with Claude Code.

Role
Designer & creative director
Timeline
Sept – Oct 2026
Platform
Web · Astro
Tools
Claude Code, Figma, Astro, GSAP
Building this site cover

Overview

You’re looking at this case study. I designed and built aviral.design in conversation with Claude Code: I set the direction, judged every iteration in the browser and threw out what didn’t feel right. Claude Code wrote the code.

I wanted a portfolio that behaves like the tools designers live in. So the site has a Figma-style inspect mode, a hero grid that reacts to your cursor, design-tool logos you can throw around, and a set of hidden interactions to find.

  • 11Hidden interactionsSix of them on phones and tablets.
  • ~2,100Chips in the hero gridEach one lifts when your cursor passes.
  • 0CookiesFonts and scripts are self-hosted.

How we worked

AI makes it cheap to try things, which makes judgement the scarce part. Every feature went through the same loop.

  1. 01 · Me

    Brief

    I describe the feeling, not the code: what it should do, how much it should move, what it must never become.

  2. 02 · Claude Code

    Build

    Claude Code builds a first version, often two or three variations side by side.

  3. 03 · Me

    Review

    I look at it in the browser, on desktop and on my phone, and give precise feedback.

  4. 04 · Me

    Decide

    Keep it, refine it or throw it away, then go round again.

A grid that answers

The hero is a full-bleed grid of about 2,100 flat chips, built with Hairline, an isometric line-drawing engine. At rest it should read as a quiet background. Move your cursor and the chips under it lift and settle; click, and a ripple runs out from the pointer.

The hero of aviral.design with a small cluster of lifted chips under the cursor and a cell read-out in the cornerHero
Chips lift under the cursor; the corner shows which cell you’re on.

Getting there took several rounds. My brief was that it should “feel like a static grid background when cursor is not hovering”. The first chips had thickness and looked like buttons, so they became flat outlines. The lift came down to about a tenth of the first version. A square, gapless variant was tried and rejected. On phones the live grid felt jittery, so touch devices get a still image of the same grid instead.

Inspect mode

Press I, or tap the button in the nav, and the page turns into a design file. Hover any element to see its layer name, size, spacing, type and colour tokens, the way you would in Figma. It’s a portfolio that shows how it was built.

Inspect mode on aviral.design: the hero title is selected, with a panel showing its layout, spacing, typography and fillInspect
Inspect mode: every element is a named layer with real values.

Things to find

Eleven interactions are hidden around the site, from flipping the ID card to scratching the portrait back into colour. A counter in the footer keeps score and gives deliberately vague hints. The last one is for developers: open your browser’s developer tools.

The interactions found list in the footer, with two found and nine still to find, each with a short hintDiscovery
The footer counter, with hints for the ones still hidden.

The design tools I use drop into the footer and pile up under real physics. Pick one up and throw it. On phones, a custom spring lets you drag logos with your finger while the empty space still scrolls the page.

The lime green footer with the headline Got a product that needs to feel simple, a contact QR code and a pile of design-tool logos at the bottomFooter
Design-tool logos fall, pile up and can be thrown.

Who did what

  • Me

    Direction and judgement

    The concept, the visual language, every interaction idea and how much it should move. Reviewing each build in the browser, on desktop and phone, and deciding what stays.

  • Claude Code

    Building and iterating

    Writing the Astro, GSAP and physics code, producing variations to compare, and making the precise changes I asked for, from a 10% smaller lift to a softer outline.

No client data or NDA work went into any AI tool. Everything on this site is my own material or public.

Next case · Sport · Brand identityPurani Dilli 6