Skip to content

Case study · Design system

Paubha: one system, from Figma to production.

Visit site (opens in a new tab)
Role
Designer & engineer
Team
Solo
Timeline
2026
Focus
Design systems · Tokens · Frontend
Paubha design system overview
01

The challenge

Design systems usually live in two places. Designers work from a Figma file, engineers work from a code library, and over time the two drift apart. A colour gets updated in one and not the other. A button looks one way in the mockup and another in the product.

Paubha started with a simple question: what if there was only one source of truth?

02

The approach

I started with the foundations, not the components. Get the tokens right and everything built on top of them stays consistent.

  1. 01Every colour, space and radius is defined once, and named for what it does rather than how it looks.
  2. 02Figma and code use the exact same names, so designs hand off without translation.
  3. 03Light and dark themes are built into the tokens, so every component supports both by default.
  4. 04One sizing scale keeps buttons, inputs and selects aligned whenever they sit side by side.
  5. 05Every interactive element shares the same soft focus ring, so the whole system feels like one product.
  6. 06Components install with a single command and live in your codebase, so teams fully own them.
  7. 07Accessibility is built in, with keyboard support and screen reader labels on every component.
03

What changed

With Paubha, a button’s colour lives in one place: --bg-brand-solid. Change it once and every screen updates, in the design file and in the product.

Switching a whole product to dark mode, or to a new brand colour, becomes a token change instead of a redesign.

04

Outcomes

What shipped

  • 33 core components, from buttons and inputs to menus, dialogs and tables
  • Nearly 50 ready-made patterns for real screens: dashboards, settings, sign-in, pricing and more
  • Light and dark themes built on one shared set of tokens
  • A live documentation site and an open-source library anyone can install

What I learned

  • Strong foundations make everything faster. New screens get assembled, not redrawn
  • Small, repeated details, like one shared focus ring, are what make a system feel designed
  • Examples matter as much as components. People learn a system by seeing it used

Built for

  • Product teams who want design and code to stay aligned
  • Developers who want accessible components they fully own
  • Designers who want a Figma library that matches production
05

What’s next

Paubha is open source and still growing. Next up: a published Figma library, more real-world examples, and room for others to contribute.

“If design and code can disagree, eventually they will.”