---
title: "How we Rebuilt the Cloud Console (While Running It)"
description: "ClickHouse rebuilt its Cloud Console by merging a legacy Angular control plane and a React SQL console (from the Arctype acquisition) into a single React app, backed by a token-driven design pipeline."
url: "https://swe.quest/articles/how-we-rebuilt-the-cloud-console-while-running-it-603a41a6cbd3bedb"
canonical: "https://clickhouse.com/blog/clickhouse-cloud-console-rebuilt"
source: "ClickHouse"
published: "2024-05-14"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["design-systems","react","frontend","refactoring","deployment"]
---

# How we Rebuilt the Cloud Console (While Running It)

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2024-05-14, 12 min read, Case study. Original: [https://clickhouse.com/blog/clickhouse-cloud-console-rebuilt](https://clickhouse.com/blog/clickhouse-cloud-console-rebuilt)

## Summary

ClickHouse rebuilt its Cloud Console by merging a legacy Angular control plane and a React SQL console (from the Arctype acquisition) into a single React app, backed by a token-driven design pipeline. Design tokens are managed in Figma via Tokens Studio, exported as JSON, and compiled per theme into CSS variables by Amazon Style Dictionary for use with styled-components in Click UI, an open-source component library built on headless Radix-UI with Storybook visual testing and Vercel PR previews. To balance flexibility against consistency, flexible internal components are composed into stricter external ones. The migration ran in two phases, with some critical features built twice and regressions hitting the legacy console, before the unified console was rolled out gradually behind a feature flag.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Design systems](https://swe.quest/tags/design-systems.md) (Web & mobile)
- [React](https://swe.quest/tags/react.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Refactoring & migrations](https://swe.quest/tags/refactoring.md) (Engineering practices)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)

## Prerequisites

- React components ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- CSS variables ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))

## Keywords

ClickHouse Cloud, Click UI, Radix-UI, Tokens Studio, Style Dictionary, Storybook, Figma, styled-components

## Related posts

- [DRUIDS, the design system that powers Datadog](https://swe.quest/articles/druids-the-design-system-that-powers-datadog-7348e64421a4e6f1.md): Datadog Engineering · 2022-09-29 · Easy · 7 min read · Design systems, Frontend, React, Developer productivity, Documentation
  DRUIDS (Datadog Reusable User Interface Design System) was started in 2018 to keep UX patterns consistent as Datadog grew into dozens of products, and its docs site is now public.
- [Why We Ripped Twin out of 400+ Components](https://swe.quest/articles/why-we-ripped-twin-out-of-400-components-f0b99539dbfc3cb4.md): Railway · 2023-05-04 · Medium · 7 min read · CSS, Frontend, Refactoring & migrations, Build systems, React
  Railway replaced twin.macro with vanilla Tailwind across 400+ React components, which removed the last dependency on Babel and let the monorepo move fully to SWC.
- [How Thumbtack structures their design system](https://swe.quest/articles/how-thumbtack-structures-their-design-system-88dae4da18cdc3ea.md): Figma · 2023-07-13 · Medium · 8 min read · Design systems, Frontend, React, CSS
  Thumbtack's Thumbprint design system is organized in three layers: design tokens shared by web and native, an atomic CSS library built on the tokens, and accessible React components on top.
- [Improving site performance by shipping more CSS](https://swe.quest/articles/improving-site-performance-by-shipping-more-css-41480dcc45d65149.md): GitHub Engineering · 2026-09-25 · Medium · 7 min read · CSS, Web performance, Refactoring & migrations, Design systems, React
  GitHub migrated its Primer Design System and the github.com codebase from styled-components CSS-in-JS to CSS Modules, removing runtime styling costs on client and server.
- [Design Systems @ Replit: Better Tokens](https://swe.quest/articles/design-systems-replit-better-tokens-145fca0668bb5424.md): Replit · 2021-10-26 · Medium · 5 min read · Design systems, CSS, Frontend
  Replit rebuilt the token layer of its RUI design system, the base of a hierarchy running tokens → utilities → components → patterns → design guidance.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
