~/works / fx-ds

Case study · 2021 · Design system案例 · 2021 · 设计系统

FX Design System · Client PortalFX Design System · 客户门户设计系统

Three design offices built separate parts of a forex client portal, and it showed. I led a five-person team to unify it with shared principles, tokens, components, and flow patterns.三地设计团队分治外汇客户门户,导致体验割裂。我带 5 人小组搭建统一设计系统,打通原则、Token、组件与核心模式。

Timeline时间2021.02
Role角色Design lead设计负责人
Scope范围Principles · tokens · 40+ components · patterns原则 · Token · 40+ 组件 · 模式
Result结果1 system · 3 offices1 套系统 · 3 地统一
FX Design System components laid out at an angle on a deep navy ground: color, buttons, inputs, selection, status badges, tokens, alerts, a confirm modal, a data table, type, account card and icons

01 · Overview概览

Three offices, diverging UI三地分治,界面割裂

Three regional offices owned separate slices of the client portal—KYC/funds/reports, marketing/promotions, and accounts/settings. Local decisions made sense in isolation, yet clashed across screens.

客户门户由三地团队分模块维护:KYC 与资金报表、营销活动、账户设置。各自做法单独看合理,拼起来却风格割裂。

Audience受众

Retail traders in 5 languages (including Arabic RTL), plus internal teams.

5 种语言(含阿拉伯语 RTL)的零售客户与内部产研。

Approach路径

Bottom-up layers: principles, tokens, components, and core flow patterns.

自底向上分层:原则、Token、组件与关键模式。

Output交付

40+ token-backed components and docs for KYC, reports, and funds.

40+ 组件,及 KYC、报表、出入金模式文档。

Confidentiality noteBuilt for a regulated financial services company. The brand (“FX”), client details, and transaction data are fictionalized, and screens marked “reconstructed” illustrate pre-redesign issues; my role, process, and decisions are real.保密说明本项目服务于一家受监管的金融公司。品牌名「FX」及所有客户、交易数据均已脱敏或虚构,标注「示意重绘」的界面用于还原改版前的问题;我的角色、过程与决策均为真实经历。

02 · The problem问题

Where the three teams diverged三个团队在细节上的分歧

A page-by-page audit compared twelve common elements—titles, buttons, selections, dates, and deletes. No office was wrong; they lacked a shared standard.

逐页盘点三地对 12 类基础元素(标题、按钮、选中态、日期、删除)的写法——不是谁错了,而是缺统一标准。

Audit excerpt; the last column shows the unified system answer.盘点节选,末列为设计系统统一方案。

Before · reconstructed改版前 · 示意重绘

Eleven issues on one deposit screen单张入金页上的 11 处问题

  1. 3Placeholder as label占位符充标签

    “Select Trading Account” vanishes once picked.

    选完「Select Trading Account」即消失。

  2. 4Mismatched helper币种提示矛盾

    Bold blue USD note under an EUR-prefixed input.

    EUR 前缀框下却写蓝色加粗 USD 提示。

  3. 5Ad-hoc buttons按钮不统一

    Centered, 266px wide, gray disabled—unique per page.

    居中、266px、灰禁用态,每页写法各异。

  4. 6Wrong active nav导航错高亮

    Sidebar checks Dashboard while on Deposit.

    在入金页,侧边栏却勾选 Dashboard。

  5. 8Unprotected delete误删风险

    Blue link deletes a saved bank in one click.

    蓝链一键删银行卡,无二次确认。

  6. 10Mixed dates日期混用

    13/03/2021 and Nov 5, 2021 on one card.

    同卡混排 13/03/2021 与 Nov 5, 2021。

Also marked: 1 floating breadcrumb · 2 duplicate “Back” · 7 Title Case pairs · 9 misspelled custom-green status · 11 beige notice.另标:1 悬浮面包屑 · 2 重复「返回」 · 7 Title Case 键值 · 9 拼错状态与定制绿 · 11 米色框。

After · drag to compare改版后 · 拖动对比

Rebuilt strictly with system parts全量复用系统组件重做

The bank transfer deposit page rebuilt with the design system
The same deposit page before the system, reconstructed for illustration
Before改版前After改版后
  • Persistent labels标签常驻上方

    Placeholders show format only; helper matches currency.

    占位符仅示格式,提示与币种一致。

  • Standard Alerts统一 Alert

    Info alert replaces beige box to explain indicative rates.

    用 Info 提示框取代米色框说明参考汇率。

  • Left-aligned primary主按钮左齐

    Continue is the sole orange CTA; Cancel is Tertiary.

    Continue 为唯一橙按钮,Cancel 降级 Tertiary。

03 · Principles设计原则

Four principles for design reviews落到评审的四条设计原则

Before drawing components, all three offices aligned on financial UX quality—each principle backed by a direct review test.

画组件前,三地先对齐金融体验标准,每条原则配一道评审自查题。

FX design principlesFX 设计原则Purposeful有的放矢Clear清晰Reliable可靠Familiar熟悉
01Purposeful有的放矢

Cut noise; surface only what each task needs now.

去冗余,只在关键节点给必需信息。

Review · Cut every unnecessary element?评审 · 非必要元素删净了吗?

02Clear清晰

Finance is complex; interfaces must stay unambiguous.

业务复杂,界面更要消除歧义。

Review · Are hierarchy and priorities clear?评审 · 层级与优先级清楚吗?

03Reliable可靠

Eliminate small inconsistencies that erode financial trust.

消灭侵蚀信任的细节差错与不一致。

Review · Are destructive actions reversible or guarded?评审 · 危险操作是否可撤或有确认?

04Familiar熟悉

Reuse patterns first; evolve them systematically.

优先复用已有模式,随需求系统演进。

Review · Recognizable with the logo hidden?评审 · 遮住 Logo 还能认出品牌吗?

04 · Foundations基础层

Three-tier design tokens三层结构的设计 Token

Color, spacing, radius, and type run on primitives (raw values), semantic tokens (intent), and component tokens (targeted overrides)—keeping every office in sync.

颜色、间距、圆角与字阶分三层抽象:Primitive 存原始值,Semantic 定用途,Component 做局部覆盖,保障三地同源。

Color: brand intact, AA contrast fixed颜色:保品牌色,修齐对比度

Brand navy and orange stayed, but original orange behind white text failed AA at 3.11:1. We kept the hue, tuned actions to 4.67:1, reserved orange for CTAs so statuses never compete, and made links blue.保留海军蓝与品牌橙;针对原橙底白字仅 3.11:1 不达标,保色相将操作色调至 4.67:1,限定橙色仅作主操作,链接统一用蓝。

Brand navy海军蓝blue/800Headings, surfaces标题、品牌底
Action操作色orange/500CTAs only · 4.67:1仅主操作 · 4.67:1
Accent强调色orange/400Logo, non-textLogo 与点缀
Link链接blue/500Text links行内与独立链接
Canvas底色gray/100Page background页面背景

Typography: named by role字体:按角色命名

Legacy H1–H6 names drifted across teams (“H5” meant card title in one office, page title in another). Thirteen role-based Mulish styles replaced twelve size-based ones, with tabular figures for amounts.旧版 H1–H6 按字号命名,导致「H5」在各地用法不一。改为 13 个基于 Mulish 的语义样式替代原 12 档,金额用等宽数字。

Icons: two clear sets图标:两套体系分工

Filled FX icons stayed for business entities; system icons moved from Line Awesome to Material Symbols Rounded (matching Mulish), with a 1:1 migration map for engineers.实心 FX 图标留作业务实体;系统图标从 Line Awesome 迁至圆角贴合 Mulish 的 Material Symbols Rounded,附一对一映射表。

05 · Components组件

40+ components built to React spec40+ 组件,对齐 React 规范

Every component binds to tokens with props mirroring React. Docs standardize usage, anatomy, states, do/don’t examples, copy, accessibility, and token dependencies.

全量组件绑定 Token 且属性对齐 React API,文档统一含用法、结构、状态、正反例、文案、无障碍与 Token 清单。

Deep dive · Button深入 · 按钮

Consolidating four button styles四套按钮收归一套

  • Single Primary单页唯一主按钮

    Other actions step down to Secondary or Tertiary.

    其余操作降级为 Secondary 或 Tertiary。

  • 4px radius全局 4px 圆角

    Eliminates pill and square corner drift.

    清退混用的胶囊与直角样式。

  • Confirmed deletes危险操作必确认

    Irreversible actions open a consequence modal.

    不可逆操作进弹窗并说明后果。

Deep dive · Text input深入 · 输入框

Labels that stay visible始终可见的标签

  • Top label, 48px标签置顶,48px

    Replaces floating labels and placeholder-only fields.

    淘汰浮动标签与纯占位符。

  • Actionable errors报错写明改法

    “Enter 1.00–70,000.00 USD.”

    如「请输入 1.00–70,000.00 USD」。

  • Read-only vs disabled区分只读与禁用

    Verified info stays legible with a lock and edit path.

    已核验字段清晰可读,配锁及修改入口。

Deep dive · Data table深入 · 数据表格

Tables built for scanning便于速览对比的表格

  • Right-aligned numbers数字右对齐

    Tabular figures, uniform decimals, units in headers.

    等宽数字、精度统一,单位放表头。

  • Color as backup颜色仅作辅助

    P/L always includes a sign alongside red/green.

    盈亏必带正负号,红绿只作加强。

  • Inline expansion详情行内展开

    Secondary details open in place without page jumps.

    次要字段就地展开,不跳新页。

06 · Patterns设计模式

Patterns for high-stakes flows高风险流程的复用模式

Components define controls; patterns codify multi-step flows like KYC and deposits so every office follows the same rules.

组件规范单控件,模式沉淀 KYC 与出入金等多步规则,确保三地一致落地。

Pattern · KYC submission模式 · KYC 提交

Short steps, upfront rules, auto-save短步骤、先亮规则、自动保存

Pattern · Report query & export模式 · 报表查询导出

Unified filters, summary, and table统一的筛选、摘要与表格

Pattern · Funds confirmation模式 · 资金确认

Plain-language confirm before transfer动账前的明文确认

Restates amount, account, conversion, and timing; button repeats the verb.复述金额、账户、换算与时效,按钮明确动作动词。

Marketing’s promotions page rebuilt with system cards, badges, Secondary buttons, and blue links—keeping its energy inside the system.营销活动页复用系统卡片、徽标与按钮重做,保留张力且融入规范。

07 · Delivery交付

Automated Figma-to-React pipelineFigma 到 React 自动同步

Figma tokens export as JSON and compile via Style Dictionary into CSS variables and TypeScript constants consumed by React and documented in Storybook.

Figma Token 导出 JSON,经 Style Dictionary 编译为 CSS 变量与 TS 常量,直供 React 并同步 Storybook。

1:1 naming同名映射

color/text/secondary maps to --fx-color-text-secondary.

color/text/secondary 对应 --fx-color-text-secondary。

Release flow发布顺序

Review → Figma → JSON export → Storybook release.

评审 → Figma 录入 → 导出 → Storybook 发布。

Built-in RTL原生 RTL

Start/end properties mirror Arabic automatically; numbers stay LTR.

逻辑属性自动镜像阿拉伯语,数字保持正向。

  1. Phase 1阶段 1Audit盘点原则

    Three-office audit & four principles.

    三地盘点与四条原则。

  2. Phase 2阶段 2Foundations基础层

    Tokens, color, type, icons, grid, RTL.

    Token、色彩、字阶、图标、RTL。

  3. Phase 3阶段 3Components组件

    Forms, nav, feedback, tables, overlays.

    表单、导航、反馈、表格、浮层。

  4. Phase 4阶段 4Patterns设计模式

    KYC, reports, funds, layouts, states.

    KYC、报表、资金与状态。

  5. Ongoing持续Migration迁移

    Offices migrate pages each release.

    各区随迭代迁移存量页。

08 · Results结果

Cohesive portal across three offices三地交付统一客户门户

Unified UI口径一致

Screens from all three teams align down to dates, amounts, and buttons.

三地页面在日期、金额、按钮上高度统一。

Objective reviews评审聚焦

Critiques shifted from taste to principle checks and user flows.

评审告别喜好之争,转向原则核对与流程。

Accessible by default内置无障碍

Key text passes WCAG AA; Arabic mirrors with zero custom layouts.

核心文字达标 WCAG AA,阿拉伯语自动镜像。

What went right做对了什么

Aligning on principles before pixels gave three offices shared review criteria—settling most component debates upfront.

画组件前先定原则与评审标尺,绝大多数样式分歧迎刃而解。

Working on a similar product?也在做类似的产品?

0→1 products, complex workflows, or design systems—happy to talk.无论是从 0 到 1、复杂流程,还是设计系统,欢迎聊聊。

Get in touch联系我