Prototype Playground (Notion)

concept
prototyping, tooling, workflow, design-system, code-as-material
4 sources

created
2026-11-17
updated
2026-12-02
reviewed
2026-12-02
confidence
medium

The shared code environment Brian Lovin built for Notion’s design team (described as of 2026-02): “a simple Next.js application hosted in a single GitHub repository that the entire design team can access”, where designers build prototypes with Claude Code and test them in a real browser. It puts the rule from Give Your Agent a Laboratory into a team setting.source 1


index

7 sections
select a row to jump


1 The setup

Four parts, as Claire Vo describes them:source 1

Part What it does
One repository Shared, so prototypes are “visible and easy to reuse”
Namespaced directories A folder per designer, to avoid collisions; file-based, no backend database
Shared components Styles, colours, typography and icons from Notion’s design system as a common starting point
External links Entries can point to prototypes in Figma, v0 and other tools, so “experiments [stay] discoverable in one place”

On top sit slash commands and skills: /figma (Figma frame to code with a browser verification loop), find-icon (looks up valid icon names) and /deploy (branch, commit, push, pull request, then watch CI and fix lint or type failures). Review “is available but is not required”; the team “commonly merges after CI passes because the repository is for prototypes rather than production code”. Details of the commands are on Give Your Agent a Laboratory.source 1

Lovin works in three panes: Claude Code in a terminal, Cursor as the editor, and the live browser. He starts in plan mode and reads the plan before building, and dictates prompts.source 1

2 Why it exists

  • You can’t design an AI conversation in Figma. “You mock these golden paths in Figma and then the engineers go and they build it. And it just doesn’t work that way… the AI gets stuck, or asks a follow-up question, or does the wrong thing.” Wong: “Static mocks enforce golden-path thinking.”source 2
  • Meet reality early. “If you imagine this gradient of like I’m scribbling on a napkin on one side to I’m shipping to production… our goal as designers is to move up that gradient towards prod as quickly as possible.” In the browser “you notice loading states, you notice ‘ah, that didn’t quite work on this screen size.’”source 2
  • But not for everything. Lovin still spends “60 to 70%” of his time in Figma; some things “don’t need to be coded up”.source 2

3 Easier, but not dumbed down

The open problem is adoption. “It’s still React and TypeScript and Git and branches and it’s just a lot of concepts to throw at someone who maybe is used to only prototyping in Figma.” He wants it “easier to onboard but also not dumbed down”: “I want people to learn how to use computers… to even subconsciously absorb the ideas of git and branching and pull requests and merging.” Wong calls this “a bet on long-term capability over short-term adoption”.source 2

There is a tension in the sources here. /deploy hides branching, committing and pull requests behind one command, while Lovin says he wants designers to absorb those ideas. Opening the new pull request in the browser is the one step that shows them. Pointing out the tension is mine.

4 Compared with single-file HTML prototypes

Both Joshua Crowley and Lovin prototype AI features in code because mocks don’t show model behaviour. They make opposite choices about structure. The table is mine, built from both sets of sources.

Single-File HTML Prototypes (Crowley) Prototype Playground (Lovin)
Unit One self-contained .html file A folder in a shared Next.js app
Stack No build, no npm, no framework React, TypeScript, Tailwind, Git
Look “Give each prototype its own palette” (html-prototypes Skill) Notion’s design-system components
Who tests in the browser The human: “the browser is the test” The agent, via the Chrome DevTools MCP, plus lint and type checks in CI
Sharing Drag into Slack or deploy with Cloudflare Drop Pull request; merge after CI passes
Collection Tooltown “neighborhoods” Per-designer folders plus links to Figma and v0
For non-technical people A skill that triages requirements before building Commands that do the Git work, with the hope that people learn Git anyway

Crowley’s version is easy to copy for one person; Lovin’s shares context across a team (design system, commands, a common place to look) at the cost of a steeper start.

5 Connections (my observations)

  • Beyond Chat Interfaces: “I don’t think you can design a good chat experience in Figma” is a practitioner’s reason the chat interface stays hard to design. It also suggests prototyping in code is how a team finds the “No man’s land” failures Amelia Wattenberger describes.

  • Design Engineer as the New Data Scientist: David Hoang says some prototypes must be code. Lovin, a product designer rather than a design engineer, makes the same case for AI features and builds the infrastructure himself, which is the “design infrastructure” Hoang assigns to design engineers.

  • Code Wrangler Tips: Freya Stockman runs a pre-review check before every pull request. Here review is optional because nothing ships, and CI stands in for it. Where prototypes end and product code begins decides which rule applies.

  • Code Like a Surgeon: Geoffrey Litt, also a UI prototyper at Notion, keeps the tight design loop for himself and delegates prep. The playground hands the browser check to the agent too. The two Notion accounts may be describing different parts of the same work, or genuinely different habits; the sources don’t say.

  • Code as Design Material: shared design-system components make the code base itself a design material for the whole team, not only for individuals.

  • AI in Design Report 2026: the survey report names the playground as an example of how internal tools spread: “an internal, shared Next.js codebase where designers can create interactive product prototypes. Each designer works in their own folder, with a shared set of Notion-like design system components already available out of the box.” Stripe’s ProtoDash (“an AI-powered product playground with Stripe’s design system baked in”) is the same idea at another company. 43% of surveyed designers say working prototypes are now an expected output.source 4

  • Prototype Formats for Agent-Era Design — extends the comparison already on this page with the laboratory loop as a third column

6 Open questions

  • How many of Notion’s designers use it, and how often? Wong says “the adoption question is harder”, without numbers.
  • An earlier wiki note said prototypes go to “one feed… deployed to Vercel”. None of the three sources says so, and the host gives no deployment target. It may be in the video, which wasn’t watched.
  • Does optional review, with CI as the only gate, hold once prototypes get reused as references for product work?

7 Sources

  • raw/articles/chatprd-lovin-prototype-playground.md (the setup, commands and working method)
  • raw/articles/rogerwong-notion-prototype-playground.md (why it exists; adoption; Figma share)
  • raw/articles/lovin-give-your-agent-a-laboratory.md (the verification rule behind the commands)
  • raw/articles/ai-in-design-report-2026-snapshot.md (the playground as a cited example; Stripe’s ProtoDash)

referenced by

15 pages link here


sources

numbers match the markers
in the text above