Texla Culture · People Care HRMS · Design system

Building a design system while designing the product

How I built Texla Culture’s design system from a blank Figma file, while designing every module of People Care, an HRMS for India’s frontline-heavy businesses.

Role
Founding Product Designer, the only designer
Team
Me, the CEO (ex-HR leader) and the dev team
Scope
Design system and all 5 product modules
Tools
Figma, built on React + MUI
The People Care employee payroll page, split down the middle: the left half in the light theme, the right half in the dark theme, with the same layout and components

One system, two themes: the employee payroll page in People Care.

At a glance

The challenge

No designs, no Figma file and only a handful of developer-built screens. Five HR modules had to ship for users ranging from HR admins at a desk to crew members on a phone.

What I did

Built a token-based design system on top of MUI and grew it module by module while designing the product itself: 4 foundations, 26 components, light and dark themes.

The outcome

Every People Care module runs on one system and developers built screens from ready components instead of from scratch. The product went live and brought on brands like Coca-Cola, Frooti and Biryani By Kilo.

  • 5product modules
  • 4foundations
  • 26components
  • 2themes, light and dark

Context

Who uses People Care

People Care is an HRMS for Indian businesses with large frontline teams, like café chains, retail and factories. It runs the whole employee lifecycle in one place, for people who work very differently from each other.

  • Core HR and self-service
  • Payroll and expenses
  • Time and attendance
  • Hiring and onboarding
  • Performance
  • 01

    HR admin

    Head office · laptop · all day

    Runs payroll, keeps records clean and stays on top of statutory compliance for hundreds of employees.

    Needed from the system

    Dense screens that are always accurate
  • 02

    Manager

    Outlet or team · phone and laptop · in between tasks

    Approves leave and attendance, plans shifts and reviews their team, usually in a few spare minutes.

    Needed from the system

    To see what is pending quickly
  • 03

    Employee

    Frontline · budget phone · a few taps a day

    Marks attendance, applies for leave, uploads documents and checks payslips through self-service.

    Needed from the system

    Big, simple buttons

Things that are specific to Indian HR

  • Money

    ₹9,50,000Written in lakhs, like 9,50,000
  • Payroll

    PF · ESI · PTStatutory deductions on every payslip
  • Identity

    PAN · Aadhaar · UANFields with their own formats and checks
  • Dates

    08 Apr 2022Month written out, so 04/08 and 08/04 never get mixed up

So the same system had to handle dense payroll tables, quick approvals and a crew member tapping on a budget phone.

The starting point

Where things stood when I joined

When I joined, there was nothing to clean up because nothing had been designed yet. Developers had started building, the CEO had the HR knowledge and five modules were waiting to be designed.

  • 0Figma files, components or styles
  • 3-4screens built by developers on default MUI
  • 5 : 1modules to design and one designer
An early developer-built employee table: CTC written as 950000, 9,50,000, Rs. 620000 and INR 7,20,000 and joining dates written as 08/04/2022, 2022-04-08 and 15/06/2021
1 2 3
The salary field on the old Add employee form, with a dollar sign in front of CTC4
An early developer-built screen and the salary field from the old Add employee form.
  1. 1

    Stock MUI, recoloured green. Nothing about it looked like Texla Culture.

  2. 2

    Dates in three formats. 08/04/2022, 2022-04-08 and 15/06/2021 in one column.

  3. 3

    Money written four ways. 950000, 9,50,000, Rs. 620000 and INR 7,20,000.

  4. 4

    $ in a salary field. The templates were clearly not made for India.

I was more worried about the screens we had not designed yet.

Without a system

Core HRPayrollAttend.HiringPerf.

Every module invents its own buttons, tables and date formats. HR admins relearn the product on every screen.

With a system

Core HRPayrollAttend.HiringPerf.

One shared set of components. Every module feels like the same product and developers stop rebuilding the same table.

  • Features kept shipping

    There was no break to build the system first.

  • I was the only designer

    I was designing every product screen at the same time.

  • The code already existed

    Developers were already on React and MUI.

  • Very different devices

    The same parts had to work for HR admins and frontline crew.

So the real question for me was how to build a system that could grow with the product without slowing it down.

Key decisions

The big decisions

I tried to spend my time on HR problems and not on rebuilding UI that already worked. Each of these came with a trade-off, so I have written those down too.

01

Theme MUI, do not rebuild it

Our developers were already building in React with MUI and I was the only designer, with five modules still to go. So I built our system as a custom MUI theme and named everything in Figma the way MUI does: variant, color and size.

The trade-off. Some looks were limited by what MUI allows. In return, handoff got much easier, because a Figma setting like “variant: soft, color: success” was exactly what developers typed in code.

Same words in Figma and in code

Button
variantsoft
colorsuccess
sizemedium
Approve
<Button variant="soft" color="success" size="medium">
02

Grow it with the product

There was no feature freeze. Modules kept shipping while I was building the system, so I could not stop and design a full library first. I set up the foundations, then made a component only when a module actually needed it. If the same pattern showed up on three screens, it became a component.

The trade-off. Some components are more complete than others because of this. But every component was tried on a real screen before it went into the system and nobody had to wait for me.

What each module asked for

  • PayrollTable
  • OnboardingStepper
  • LeaveDate range picker
  • DocumentsUpload
  • Policies, job postsRich text editor
  • AnalyticsCharts
03

Tokens before components

If everyone picked colors screen by screen, the code would fill up with random hex values that nobody could change later. So before any components, I named tokens for color, type and elevation (primary, success, grey 100-900, card, dialog and dropdown) and made every component use only those.

The trade-off. It slowed us down at the start. It paid off later when we added a dark theme: I remapped the tokens instead of redrawing 26 components. Changing the brand color is now one edit.

One token, two themes

TokenLightDark
background.defaultgrey 100grey 900
background.paperwhitegrey 800
text.primarygrey 800white
primary.maingreengreen
The payslip summary card in the light themeThe same payslip summary card in the dark theme

The same payslip card, light and dark. I did not redraw anything here, only the tokens changed.

04

Add a Soft variant

HR tables have a button or a status on almost every row. Filled buttons made the tables look loud and text buttons were easy to miss. So I added a Soft variant (a light tint with colored text) for buttons, chips and status labels. This is the one place I went beyond MUI.

The trade-off. The developers had to build and look after a custom variant. I think it was worth it, because busy tables look calmer now and statuses like Active, Probation and Exited are easy to spot.

The same row, three ways

FilledAditi RaoApprove
TextAditi RaoApprove
Soft ✓Aditi RaoApprove
ActiveProbationExited
05

Pick a font for numbers

Most of an HRMS screen is numbers: salaries, dates, counts and IDs, usually in dense tables. I tested a few fonts with real ₹ figures in tables and picked Public Sans. It is free, open source and has four weights.

The trade-off. It is not a very distinctive font, so the brand feels a little plainer. But the numbers stay readable even at small sizes and a young startup did not have to pay for a license.

Real numbers in Public Sans

Gross earnings₹75,000
Provident Fund (PF)−₹1,800
Annual CTC₹13,20,000
Pay date05 Jul 2022

Foundations

Color, type, spacing and shadows

All 26 components sit on top of these four foundations. Each one is a set of tokens with a light and a dark value, so nobody picks a color or a size by hand.

Raw values

Hex codes, font sizes, shadow values

Named tokens

primary.main, text.secondary, shadow.card

Components

Button, Table, Text field and the rest

Themes

Light and dark, by swapping the token values

01

Color

Primary and secondary brand colors, four status colors (info, success, warning and error) with four tints each and a grey scale from 100 to 900. Primary is only for the main action, status colors are only for status and grey does most of the work.

One thing that tripped me up. White text on the warning amber did not pass contrast, so warning is the one status color with dark text.

Light

Primary
Secondary
Info
Success
Warning
Error

Grey 100 to 900

Dark

Primary
Secondary
Info
Success
Warning
Error

Same colors, on dark surfaces

02

Typography

Public Sans in four weights, with H1 to H6, two subtitles, two body sizes, a caption and an overline. In practice the big headings are rarely used. Most screens use H5 and H6 for page titles, Subtitle 2 for table headers and Body 2 for table cells.

One thing that tripped me up. I picked this font for how it shows numbers and not for brand personality. There is more on that in decision 05.

Light · where each style is used

Employees

H5 · page title

Joining date · CTC · Status

Subtitle 2 · table header

Aditi Rao · 08 Apr 2022 · ₹9,50,000

Body 2 · table cell

PAN should be 10 characters

Caption · helper text

Dark

Employees

H5 · page title

Joining date · CTC · Status

Subtitle 2 · table header

Aditi Rao · 08 Apr 2022 · ₹9,50,000

Body 2 · table cell

PAN should be 10 characters

Caption · helper text

03

Grid and spacing

A 12-column grid on an 8 px spacing base, with four gutter sizes: 24, 32, 40 and 80 px. Dense HR dashboards use the tight gutters and calmer pages like login and onboarding use the wide ones.

24 px gutters · dense dashboard

80 px gutters · calm page like login

04

Elevation

MUI’s shadow scale (Z1 to Z24), colored shadows for filled buttons and three named shadows: card, dialog and dropdown. We used the names in handoff, because nobody remembers what Z12 means.

One thing that tripped me up. Shadows barely show on dark backgrounds, so in dark mode cards use a lighter surface instead.

Light

CardDropdownDialog

Dark

CardDropdownDialog
  • One theme file

    All four foundations went into one MUI theme file that the developers used.

  • Every screen updated

    When the theme went in, the early developer-built screens picked up the new look too, without a redesign.

  • Dark mode from the same tokens

    Dark mode is just a second set of token values. We never designed a screen twice.

Deep dive · The table

The table

HR admins spend most of their day in tables. Employees, attendance, payroll runs, leave and reimbursements all end up in one, so if the table was slow or confusing, the whole product felt that way.

ColumnsFiltersDensityExport
AllActiveExitedSearch employees
EmployeeJoining dateCTCStatus
ARAditi Rao08 Apr 2022₹9,50,000Active⋮
RMRohan Mehta07 Aug 2022₹6,20,000Probation⋮
KNKavya Nair11 Feb 2022₹11,40,000Exited⋮
DenseRows per page 5 · 6-10 of 11
1234567
  1. 1

    Toolbar. Pick columns, filter, change density and export to Excel.

  2. 2

    Tabs and search. The views people use most are one click away.

  3. 3

    Bulk select. Act on many employees at once.

  4. 4

    Indian formats. ₹ in lakhs and DD MMM YYYY dates.

  5. 5

    Soft status labels. Easy to read without taking over the row.

  6. 6

    Row menu. Less common actions stay tucked away.

  7. 7

    Density toggle. More rows for big teams, more space for small ones.

How it got here

The first version of the employee table: plain MUI with US dates like 12/03/2018 and salaries like 840000

Version 1

A stock MUI table

Name, ID, department, joining date, salary and status. Dates in US format, salary as plain numbers and status as plain text.

Second version: toolbar, checkboxes, Indian formats, bright filled status chips and View and Edit buttons on every row

Version 2

More tools, but loud

Added search, filters, export and bulk select. Dates and money moved to Indian formats. But the filled status colors and two buttons on every row made the table very loud.

Final table: tabs with counts, a green bulk action bar, avatars with role under the name, soft status labels and a row menu

Final

Calmer and easier to scan

Soft status labels, tabs with counts, a bar for bulk actions and one row menu instead of two buttons. The role moved under the name, so each row reads in one go.

The same table in four different places

  • Employee directory: a searchable table of colleagues with designation, location, contact and employment type
    Employee directoryCore HR
  • HR verifying a new joiner’s documents: a list of uploads with Verified, Approve and Request re-upload actions
    Document checksOnboarding
  • Team leave balances: each employee with earned, casual and sick leave left and upcoming leave
    Leave balanceTime and attendance
  • An outlet manager’s reimbursement claims with submitted, claimed, approved and paid amounts and a status for each
    ReimbursementsPayroll and expenses

Deep dive · The payslip

The payslip

This is the screen where a wrong number really hurts. Most employees open it to check two things: how much they got and why. Everything here is built around that.

Payslip · June 2022Processed
Employer · Texla CultureEmployee · Aditi RaoPay period · 01-30 Jun 2022Paid on · 05 Jul 2022

Earnings

Basic salary₹45,000
Other earnings₹30,000
Gross earnings₹75,000

Deductions

Provident Fund (PF)−₹1,800
Professional Tax (PT)−₹200
Net pay₹69,500
  1. Rule 1 · Net pay at the top

    Net pay is the biggest number on the page, so nobody has to hunt for it.

  2. Rule 2 · Earnings, then deductions

    Earnings come first and deductions after, because that is how people check their salary.

  3. Rule 3 · Do not rely on color

    Deductions have a minus sign as well as a color, so they still make sense for color-blind users and on paper.

  4. Rule 4 · Use payroll words

    Employer and employee, earnings and deductions, PF and PT. HR and employees already use these words every month.

In the product

What it looks like in the product

These are real People Care screens built on the system, for all three kinds of users.

Before · early developer build

The early developer-built employee list on default MUI

After · built on the system

The Employees list built on the system: summary numbers, tabs with counts, filters, a table with soft status labels and a row menu
  1. 1

    Our own look. Our colors and Public Sans instead of stock MUI.

  2. 2

    Easier to scan. The system table, clear dates and soft status labels.

  3. 3

    Actions in one place. Each row has one menu with everything HR needs and the risky action, Deactivate account, is in red.

One screen for each kind of user

Payroll setup: a table of salary components grouped into earnings, variable pay, employer cost and deductions, with how each is worked out, tax treatment and an on or off switch

For the HR admin

Setting up payroll for the whole company

This is where HR decides how every salary is worked out. It is dense on purpose, because one wrong rule here affects hundreds of people.

TableTabsAlertLabelSwitch
Team leave: counts at the top, three leave requests waiting with Approve and Reject buttons and a table of leave balances

For the manager

Clearing approvals in a few minutes

Pending requests are counted and grouped and each one can be handled in one tap.

CardListLabelButtonTable
Mobile home: the shift card with a big Clock in button and a location check
Mark attendance
Apply leave on the phone: leave type chips, a date range picked on a calendar and a big Send request button
Apply for leave
Payslip on the phone: net pay at the top, then earnings, deductions and details
View payslip

For the employee

A few big taps on a budget phone

The same components, just bigger and simpler for frontline crew.

Button · largeChipsDate range pickerCardLabel

The same screen in both themes

An employee profile in the light theme: header with status labels, key dates, notice period alert and personal details
The same employee profile in the dark theme
The onboarding screen where HR adds a new joiner, with the system components labeled: breadcrumb, avatar, label, stepper, alert, card, text field, select, checkbox and buttonBreadcrumbAvatarLabelStepperAlertCardText fieldSelectCheckboxButton

How much of a screen comes from the system

The stepper, alert, cards, text fields, selects, checkboxes, labels and buttons are all the same components used across People Care. The only new work on this screen was the layout.

Handoff and adoption

Working with the developers

The developers were the first people who had to use the system, so I spent a lot of time with them. If something was hard to build with, they would just work around it, however good it looked in Figma.

From Figma to code in three steps

01 · Figma

Components named like the codeVariant, color and size properties that match MUI word for word.

02 · Theme file

One theme fileColor, type, spacing and shadow tokens, written into one MUI theme with the developers.

03 · Code

Screens put together from componentsDevelopers pick components and props instead of styling each screen by hand.

The same words in design and code

Every Figma property had the same name and options as the prop in code. So a developer could look at a design and know exactly what to type, without guessing or asking me.

In FigmaIn code
Variant: Softvariant="soft"
Color: Successcolor="success"
Size: Smallsize="small"
Text style: Body 2variant="body2"
Shadow: Cardshadows.card
The Button page from the design system: Contained buttons shown by color, state, size and with icons, then Outlined buttonsVariantsColorsStatesSizesReal cases

How each component page is laid out

All 26 component pages use the same layout: variants first, then colors, states, sizes and real examples. That way developers always knew where to look.

Design QA

My QA checklist

  • Tokens used, no hard-coded colors
  • Every state built: hover, disabled, error and empty
  • The right text style for the job, like Body 2 in tables
  • ₹ in lakhs and DD MMM YYYY everywhere
  • Works in light and dark

What it caught

140+ issues

I checked every build against Figma before release and logged issues with screenshots. Before the pilot launch alone, that caught more than 140 issues.

What helped it stick

  • Weekly check-ins

    Flows and content with the CEO and builds with the lead frontend developer, every week.

  • The rule of three

    A pattern needed on three screens became a component, so new requests added to the system instead of breaking it.

  • New screens from parts

    Developers built new screens from ready components instead of from scratch.

Impact

What changed

Here is what changed once the system was in place. Some of it was measured and some of it is what I saw day to day.

  • ~40%less time to build a new screenDev lead’s estimate, before and after the theme
  • 90%of the UI on new screens came from existing componentsChecked across 10 shipped screens
  • 3×fewer visual bugs raised in QABug tracker, UI-tagged issues
  • 12brands onboarded, including national F&B chainsSales team

For the team

  • Figma and code used the same names, so handoff got much easier
  • Developers built new screens from ready components instead of from scratch
  • Dark mode came from remapping tokens, with no redesign of the components

For HR teams and employees

  • The same tables, labels and formats in every module, so HR learns it once
  • ₹ in lakhs, Indian dates and PF and PT terms everywhere
  • Big, simple controls for frontline crew on budget phones

For the business

  • Live with brands like Coca-Cola, Frooti and Biryani By Kilo
  • Grew from 3 pilot companies to 18 paying ones

How I measured. Build time is the dev lead’s estimate for similar screens before and after the theme. Component reuse comes from checking 10 shipped screens.

Reflection

What I would do differently next time

Building the system and the product at the same time meant choosing what to leave for later. Looking back, these are the three things I would move earlier.

01

Design focus states from day one

I covered hover, disabled and error, but not keyboard focus. HR admins enter a lot of data with the keyboard, so focus states should have been part of every component from the start and not added later.

02

Add usage notes to the docs

The docs show every variant, state and size, but not when to pick an alert over a snackbar or soft over filled. Short do and don’t notes would have saved a lot of repeated questions.

03

Use real HR content in the docs

Some doc pages still use placeholder text and examples from outside HR. Real examples like “Run payroll for June?” teach better and catch layout problems early.

What was still on the list

  • Navigation shell: the sidebar and top bar as components
  • Patterns for empty, loading and error pages
  • A documented spacing scale and an icon library page
  • Avatar and pagination as their own components

What I took away

The biggest thing I learned is that developers are the first users of a design system. If they do not find it easy, it does not get used.

I also learned to build what the product needed right then, instead of trying to finish the whole library first.

Thanks for reading.

Next case study: Chartbeat