BitToByte Design System
Four sites, one navbar, no version drift
- Role
- Solo build
- When
- 2026
- Status
- Live
Context
BitToByte runs as four separate properties on four subdomains: the studio landing page, this portfolio, the Express Entry dashboard, and the task sorter. They should read as one brand, and for a while they did not.
The problem
The shared component library was published to NPM and installed separately in each site, so the landing page and the portfolio ended up running different versions of the same navbar. Every brand change turned into a publish, version, reinstall cycle across repositories, and whichever site was updated last was the only one that looked right.
Approach
Workspace links, not version numbers
The two React sites moved into one pnpm workspace and consume the library through a local link. A change to a component reaches both apps immediately, with no publish step in between.
Independent deploys inside one repo
Each app is its own Vercel project pointed at its own folder, with turbo-ignore as the ignored build step. Turborepo builds the library first, and a change to one app only redeploys that app.
One projects list feeding two sites
A shared content package holds every project once. The portfolio renders the full catalog; the landing page renders only the entries flagged as featured. Adding a project is one edit, and it cannot go missing from either site.
Knowing when the shared component does not fit
The Express Entry and Checklist apps could not take the library: it ships Tailwind 4 compiled CSS, and both are Tailwind 3 apps whose PostCSS pipeline errors on the v4 syntax. Rather than force a breaking migration on two working products, each got a small self-contained cross-link footer in plain inline styles. All four properties still cross-link; only two of them share code.
How it fits together
Source
- packages/ui
- packages/content
Link
- pnpm workspace
- Turborepo builds ui first
Workspace apps
- landing
- portfolio
External apps
- Express Entry
- Checklist
- plain-CSS footer only
Tech stack
- Library
- React 19
- Tailwind CSS 4
- Vite library build
- Tooling
- pnpm workspaces
- Turborepo
- ESLint
- Prettier
- Platform
- Vercel
- NPM
Outcome
- Published as @alex_mtz/bittobyte-ui, consumed by the workspace apps through a link and by the external apps through NPM.
- Per-site accent props and CSS custom properties drive the theming, so each property keeps its own hue against shared chrome.
- Cookie consent, the cross-link footer, and the legal links ship once and apply everywhere.
More case studies
- Hack the Hill III: One queue for every utility request, from the first call to the closed ticket
- ACRA Provenance Verifier: Making "Made in Canada" something a buyer can check
- HireTechGenius: Scoring interview answers without asking a human to re-read them