Berkeleytime

Bridging design and code through a shared design system

Bridging design and code through a shared design system

Summary

Berkeleytime had no shared components, so its UI was inconsistent and every handoff meant rebuilding screens by hand. Through 2026, we rolled out its first token-based design system: 35+ accessible components, now reused in 38% of merged PRs.

My Contribution

As Design Systems Lead, I built the foundational Figma library with two other designers. Now, as Product Design Lead, I've implemented the design tokens and built the full Storybook component library.

I built the foundational Figma library alongside two other designers. As design systems lead, I then implemented the design tokens in code and built the full Storybook component library, connecting our designs to reusable UI components.

Timeline

Dec 2025 - Present

Team

1 Product Design Lead (me)

1 Design Systems Lead (Me)

2 Engineers

2 Designers

Tools

VS Code

Figma

Storybook

Cursor Agent

Skills

Design Systems

Prototyping

Usability Testing

Frontend

Overview

Berkeleytime is where 50K+ UC Berkeley students browse courses, compare grades, and plan their semesters.

The Problem

Hardcoded styles and missing tokens made UI consistency difficult to maintain.

An audit with Cursor Agent uncovered 1,157 hardcoded spacing and typography values, alongside references to design tokens that were never defined. Without shared style definitions in code, components relied on individual values and fallbacks, making consistency harder to maintain. But this wasn't just a code problem. Students were noticing it too.

KEY FACTS

0

Design tokens

No shared values. Every color, size, and spacing was set by hand

6

Paddings, one property

60, 20, 12, 10, 8, and 0px, all used for the same job

User Insights

Inconsistent releases eroded students' trust in Berkeleytime.

In a 204-person survey, students reported broken breadth (gen-ed) filters, glitching grade distributions, and missing class sections. Without shared components, each release rebuilt the UI from scratch, and features students depended on broke along the way. That unreliability threatened the one thing that made Berkeleytime better than CalCentral, Berkeley's official enrollment system.

In a 204-person survey, students reported broken breadth (gen-ed) filters, glitching grade distributions, and missing class sections. Without shared components, each release rebuilt the UI from scratch, and features students depended on broke along the way. That unreliability threatened the one thing that made Berkeleytime better than CalCentral, Berkeley's official enrollment system.

In a 204-person survey, students reported broken breadth (gen-ed) filters, glitching grade distributions, and missing class sections. Without shared components, each release rebuilt the UI from scratch, and features students depended on broke along the way. That unreliability threatened the one thing that made Berkeleytime better than CalCentral, Berkeley's official enrollment system.

BUILDING THE SYSTEM

We prioritized components by how often they're used and how hard they are to build. Dropdowns ranked first.

High frequency
Prioritize first
DropdownsInputsButtons
High impact
Grades chartAccordionCourse cards
Low frequency
Easy win
RadioCheckboxBadge
Deprioritize
Course infoBar chartCourse panel
Low effort
High effort

atoms, molecules, organisms

Designing the Solution

First, we established shared visual foundations so every component follows the same rules across Figma and code.

Standardized spacing, typography, color, and shape gave components a consistent visual language. These shared foundations defined how elements fit together, giving designers and engineers clear rules to carry from Figma into code.

1Tokens
4 to 16
AaAaInter 14
2, 4 radius
2Atoms
Marker
A+
Label
15%
Value
Grade Distribution
Title
3Molecules
Grade Distribution
Card header
A+
15%
Grade row
4Organism
Grade Distribution
A+
15%
A
25%
A-
20%
B+
15%
B
10%
B-
8%
C+
4%
C
2%
C-
1%

components

We started with dropdowns, consolidating four inconsistent patterns into one component with two variants.

Before: Four dropdowns, four different patterns

Professor, breadth, course, and percentage dropdowns each used different spacing, menu styles, and selection indicators. I kept the differences that served a real task, like choosing one value versus several, and standardized everything else.

After: One component, two variants

Both variants share spacing, menu styling, and interaction states. Single-select picks one value; multi-select adds checkboxes and removable chips so active filters stay visible. In testing with 7 students, participants recognized the new dropdowns faster and more accurately as filters for long lists of options.

With the foundations in place, we rebuilt each component. Dropdowns, one of the most inconsistent, show the process end to end.

Before: Auditing dropdowns across the product

Professor, breadth, course, and percentage dropdowns used different spacing, menu styles, and selection indicators. I compared these patterns to identify which differences served a task and which could be standardized. I consolidated their shared visual structure while retaining distinct behaviors for choosing one value, combining multiple criteria, and selecting courses for planning. Usability testing helped us narrow the dropdown patterns to the final set shown below.

After: Consistent styling, with variants for different tasks

The final set shares spacing, menu styling, and interaction states. Single-select supports choosing one value; multi-select uses checkboxes and removable chips to show several active selections. The Gradtrak variant supports selecting courses within the planning workflow.

To keep design and code in sync, I documented every component in Storybook as a shared reference for designers and engineers.

Each component lives alongside its variants, states, and usage code, so differences between Figma and implementation surface before anything ships.

THEMING

Because components use semantic tokens, every one adapts to dark mode automatically.

Switching themes only swaps the values behind each token. Selected states, focus rings, and hierarchy carry over unchanged.

Berkeleytime in light and dark mode

IN THE PRODUCT

Finally, we rebuilt Grades on the shared library, so it now uses the same filters, cards, and color tokens as the rest of Berkeleytime.

Switching themes only swaps the values behind each token. Selected states, focus rings, and hierarchy carry over unchanged.

Berkeleytime in light and dark mode

Impact & Outcome

The design system became the default way Berkeleytime ships UI, reused in 38% of merged PRs since rollout.

Key Highlights

18+

18+

Shipped features

Built on the system across Catalog, Grades, and more

+18K

Monthly users

Growth in Fall 2026 the system rolled out, to 50K+ total

Next Steps

The next challenge is keeping the system consistent as more people, and more AI tools, build with it.

Rules for AI coding tools

Agent guidelines that tell tools like Cursor to reuse existing components and tokens instead of generating new ones.

Guardrails in code review

Checks that flag hardcoded colors and one-off styles before they ship.

More work

Overview

The Problem

User Insights

Building the System

Impact & Outcome

Next Steps