One brand on phone and web, built by your agent. Halftone is two kits, Expo and Next.js, on one set of design tokens; the web kit's components also install into any React app. Hand an agent a brief or a meeting transcript and it builds a working, themed prototype for either, composed only from the components the kits ship: no invented components, no stray colours (lint stops both), light and dark from day one. When the prototype becomes the product, it keeps the same components, tokens and checks.
Where it's going: ROADMAP.md.
Docs, live components and the install guide: https://halftonedesignsystem.com
apps/mobile |
Native kit: Expo + React Native, NativeWind, react-native-reusables. 101 components, three sample apps (Shop, Habits, Northwind), a live Components page. |
apps/web |
Web kit: Next.js + shadcn/ui on the same tokens. 96 components for dashboards, marketing pages and AI product UI, five sample apps (Northwind as a dashboard, a landing page and an assistant; Shop; Habits), a live Components page. |
apps/vite |
Vite + Workers starter: the web kit on Vite, React Router and a Cloudflare Worker for /api. A dashboard (overview, a table, settings) to start an internal tool or a prototype from; its kit components come from the registry. |
apps/docs |
Docs site: how it works, setup, every component live in a phone or browser frame. Static, on Cloudflare. |
One token file drives every kit. tokens.json (W3C design-token format) builds the CSS variables and
TypeScript theme each app reads, and the build checks every colour pairing against WCAG AA: it names any that
falls short, and --strict (how Halftone's own kits build) makes that an error.
- Start a prototype from a kit. Copy just the app you need:
Or clone this whole repo for a client project that needs mobile and web on one brand.
npx giget@latest gh:itsHendri/halftone/apps/mobile my-prototype # or apps/web cd my-prototype && npm install && npm run ios # web: npm run dev
- Add kit components to an existing Expo app that uses react-native-reusables, through the shadcn
registry:
npx shadcn add @halftone-native/<component>(see the install guide). - Let your agent do it. Point Claude Code or Cursor at the kit; it reads
AGENTS.md,DESIGN_SYSTEM.mdandllms.txtand builds only from what is registered.
npm install # once, at the root (npm workspaces)
npm run ios # mobile kit on the iOS Simulator; also: npm run web, npm run dev
npm run check # typecheck, lint, token and registry checks
npm run web:dev # the web kit at http://localhost:3100
npm run docs:dev # the docs site at http://localhost:3000 (docs:build, docs:preview)
npm run tokens:sync # after editing the brand in apps/mobile/tokens/tokens.jsonEach app is self-contained and documented in its own README and AGENTS.md. Start with
apps/mobile/README.md.
MIT. See LICENSE.