How it works
One brand on phone and web, built by your agent.
Halftone is two kits, one for the phone (Expo) and one for the web (Next.js, with components that install into any React app), on one set of design tokens, for designers and teams who work with coding agents. Each kit is a working app with three things an agent needs and usually lacks: a registry of the components that exist, design tokens that define the brand, and rules, enforced by lint, that keep the work inside both. Start with a prototype; when it becomes the product, keep building on the same components.
The loop
A brief goes in
Paste a meeting transcript, notes or a feature list. The transcript-to-prototype skill writes a short
BRIEF.md (who it is for, the screens, the flows, the open questions) before any code is written.
The agent builds from the registry
DESIGN_SYSTEM.md lists every component with its path and one-line rules, and llms.txt adds each API.
The hallucination guard is a rule in that file: list the components you intend to use, and if one is
not in the registry, stop and say so. Lint enforces it: an import the registry doesn't list, a raw colour or
another UI library is an error the agent sees as soon as it saves the file. The add-component skill adds it properly, with a demo on the Components page
and a registry entry, in the same change.
A quality gate checks it
The qc-pass skill runs typecheck and lint (with the kit's guardrail rules), the token and registry checks,
then npm run qc:look: every affected screen in light and dark, checked for WCAG 2.1 AA with axe-core, sideways
scroll, console errors and (on the web) visible focus, with screenshots and a before/after diff of what changed.
Last, a look on the iOS simulator for mobile, or a hands-on pass in the browser for web.
What is in a kit
Components
A native kit and a web kit, every component previewed live on its Components page.
Foundations
One tokens.json for colour, spacing, radius, type and motion, light and dark.
Patterns
Screen skeleton, multi-step flows, confirmations, success, loading, permissions.
Screens
Sample apps built only from the kits, in the native and web kits: the worked examples.
One source for everything
The list of components lives in one file, registry/components.ts. From it the build generates the
registry tables in DESIGN_SYSTEM.md, the component list in llms.txt, this site's component pages and a
shadcn registry. Tokens work the same way: tokens/tokens.json builds
the CSS variables, the TypeScript theme, Figma variables and DESIGN.md. Nothing that describes the kit is
written twice, so the docs, the agent and the code cannot drift apart.
Is it for you?
Halftone is for designers and product people who prototype with a coding agent (Claude Code, Cursor or
similar) and want the result to run on a phone, in a browser, or both, on their brand, and for teams that take
that prototype on into the product. You run a few npm commands and read what the agent changed; the agent
writes the code.
What you skip
The work a prototype needs before its first real screen, and nobody quotes for. Rough hours, for one person who has done it before:
| Already done | Roughly |
|---|---|
| One set of tokens building CSS variables, Tailwind and a TypeScript theme for phone and web, light and dark | 8 h |
| A contrast check on every pairing, in both modes, that fixes generated colours and names your own | 4 h |
| A theme from a brand colour: ramps, fonts loading on Expo and Next.js, radius, depth, button and field styles | 4 h |
| Logo, app icon, splash screens and favicons in every size | 2 h |
| A component set that looks the same on phone and web, with the same names in both | weeks |
What the agent reads first (AGENTS.md, DESIGN_SYSTEM.md, skills) and lint rules that keep it to the kit | 8 h |
| Sample apps to copy a screen from, and a way to remove them | 6 h |
| A look in the browser at two widths and both themes: accessibility, overflow, console, focus | 4 h |
| A link to send: an EAS update for the phone, a static export for the web | 2 h |
| And on every prompt, an agent that redesigns the system instead of using one | every time |
It is not:
- A no-code tool. There is no visual page builder. A prototype is a real Expo or React app that you run and change through your agent. Studio edits the theme, not the screens.
- A backend. No sign-in, database, payments or hosting: the kits are the front end. Prototypes run on mock
data, on purpose; a product brings its own back end and keeps the same components, tokens and checks (each
kit's
AGENTS.md› Using the kit in a real product). - A Figma library. Tokens export to Figma variables, but the components live in code.
- Something you pay for. Both kits, the tokens package and this site are free and open source.