Web Component Library

Company / Client
ResearchGate
Year
Since 2022
My part
Create, maintain and lead the library
Technology
React, built on top of an open-source component library

Context

Several product teams build ResearchGate for around 25 million researchers. The design system lets them do it without solving the same problems twice: one accessible, responsive React foundation, and one language that design and code share, so the product looks and works the same wherever a team builds.

I create, maintain and lead the library, hands-on with our frontend developers: from component APIs and props in Storybook to weekly prioritisation of library work.

Impact

  • The library is the default way to build: teams rarely fall back on custom UI, with under 1% custom HTML in production
  • We only build what the product needs: 79% of components are already used in the live product
  • Design and engineering work from one source: Figma components map directly to production code, so what is designed is what ships
  • Colour is handled by tokens: 98% of UI files use no hard-coded colour values
  • It is actively maintained: 9 contributors ship regular, versioned releases, and 3 teams build with it in Figma
95%
of the product UI built with the library
79
Figma components linked to live code
61
library releases in the last six months
1.4k
component inserts in Figma in one week

The library

Foundations, principles, patterns and components, documented in Figma and in code.

ButtonButtonButtonButtonButtonButton
BadgeBadgeBadge
233%Text
682%Text
122%Text
4405%Text
BreadcrumbItemBreadcrumbItemCurrent
Welcome back

Log in to get the best experience.

Log inThis isn’t me
Heading

AlertDialog component is used to interrupt the user with a mandatory confirmation or action.

ButtonButton
75%
Drag & drop your files here orBrowse Files
file title.formatfile size
CardHeading
HeaderHeaderHeader
TextTextBadge
TextTextBadge
TextTextBadge
CardHeader

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.

TextThis is a description
SmallTextHeadingText
ButtonButton
Menu ItemMenu SubItemMenu ItemMenu SubItemMenu ItemMenu SubItem
TabsTabsTabsTabsTabs
Heading | Lorem ipsum dolor sit amet, consectetur adipiscing
BadgeBadgeMonth JJJJ • N Reads • N Citations
AuthorNameAuthorNameAuthorName

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. …

Semantic tokens

Tokens are one of the fundamentals of a design system: they encode visual decisions, and every component inherits them. Raw values are named once as core tokens, then given a purpose as semantic or component tokens. Components only ever use the purpose layer.

  1. Value#006DD9
  2. Corecore-color-blue-500
  3. Semanticsm-color-bg-accent
  1. Value#0051A2
  2. Corecore-color-blue-600
  3. Componentcomponent-button-accent-primary-bg-color-pressed
NameLightDark
sm / typography / font-family
headingcore/typography/font-family/2core/typography/font-family/2
bodycore/typography/font-family/1core/typography/font-family/1
sm / typography / font-weight
headingcore/typography/font-weight/boldcore/typography/font-weight/bold
body-boldcore/typography/font-weight/semiboldcore/typography/font-weight/semibold
body-regularcore/typography/font-weight/regularcore/typography/font-weight/regular

Accessibility standards

The product follows the WCAG AA standard, and every implementation is reviewed against it. I revised the product colours and their combinations for it and keep the contrast pairs clear. A dark mode is designed and waiting to be implemented.

A profile page in the product next to an automated accessibility scan panel reporting 0 issues against WCAG 2.1 AA

In the product

Product teams build the platform’s pages from the library: the feed, author and journal pages and messaging. Names and content in these screens are invented.

ResearchGate home feed with article cards, research stats and editor suggestions
Home feed
Author page listing publications, co-authors, journals and affiliations
Author page
The same author page on a phone
Author page, small screen
Journal page with audience insights: a donut chart and key figures
Journal insights
Messages list with senders, subjects and previews
Messages