Diageo: Design system and component library

A themable component library for Diageo's brand sites, built on shadcn/ui with custom design tokens, so any brand can adopt it in its own look.

client
Diageo
role
Senior front-end engineer
years
2024–2025
platform
Design system
stack
React, TypeScript, shadcn/ui, Tailwind, Design tokens, Supernova, Vitest, Playwright, Changesets, Azure DevOps

Overview

Diageo owns hundreds of brands, from Guinness to Johnnie Walker, and each one needs its own look. I helped build the design system and component library behind the new brand sites, themable so any brand can adopt it.

My role

Senior front-end engineer, working on the component library, its tokens, its tests and how it is released.

What I did

  • Built components on shadcn/ui, with a custom token system so each brand can apply its own theme.
  • Connected the design system to Supernova, so tokens and documentation scale across the brands, with CI/CD in Azure DevOps.
  • Set the test strategy for building and maintaining the library, with Vitest component tests and Playwright.
  • Designed the package release flow with Changesets, publishing through Azure DevOps pipelines to Azure Artifacts.

Outcome

A themable component library, versioned and tested, ready for Diageo's brands to adopt.