frontend-design
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFrontend Design
前端设计
Design the shortest clear path from arrival to a useful result. Treat visual polish as the consequence of strong interface decisions, not added decoration. Make the product feel calm, competent, and intentional.
设计从进入到获得有效结果的最短清晰路径。将视觉打磨视为合理界面决策的结果,而非额外添加的装饰。让产品给人一种沉稳、专业且目标明确的感觉。
Start with the user's job
从用户的核心任务出发
Before choosing cards, colors, or navigation, identify:
- Who is using this screen?
- What did they arrive to accomplish?
- What is the one primary action or piece of information?
- What must they know to act with confidence?
- What can be removed without blocking the job?
Make each screen answer one primary question. Add secondary features only when a real secondary intent exists, never to fill space. Assume the creator knows the product too well; guide a new user more explicitly than feels necessary.
If requirements are incomplete, infer a sensible primary job from the product context and state the assumption briefly. When reference screenshots or an established design system exist, inspect and follow them instead of inventing an unrelated visual direction.
在选择卡片、颜色或导航之前,先明确:
- 谁在使用这个界面?
- 他们进入界面的目的是什么?
- 核心操作或关键信息是什么?
- 他们需要了解哪些内容才能放心操作?
- 哪些元素可以移除且不会影响核心任务的完成?
让每个界面只回答一个核心问题。仅当存在真实的次要需求时才添加次要功能,绝不要为了填充空白而添加。默认产品创建者对产品过于熟悉,因此要比直觉上更明确地引导新用户。
如果需求不完整,从产品背景中推断出合理的核心任务,并简要说明假设。如果有参考截图或已确立的设计系统,请遵循它们,不要创建无关的视觉风格。
Establish rules before composing screens
在构建界面前先确立规则
Define a compact system and reuse it everywhere:
- a restrained neutral base and one main accent;
- semantic colors for status, charts, warnings, and destructive actions;
- one type family or a deliberate, minimal pairing with a small hierarchy;
- a consistent spacing scale, control heights, icon sizes, border weights, and radius scale;
- a stable vocabulary for actions and objects;
- clear primary, secondary, tertiary, and destructive action treatments.
Prefer near-white or quiet neutral surfaces, thin borders, and subtle separation. Use shadows only when they explain elevation, focus, or an important starting point. Avoid glow effects, clashing gradients, arbitrary glassmorphism, and multiple competing accents unless the brand or brief specifically requires them.
Use one coherent icon family such as Lucide, Phosphor, or the project's existing set. Do not use emoji as interface icons or decoration unless emoji are part of the product's content or brand language. Pair unfamiliar icon-only controls with labels or tooltips.
Keep controls geometrically consistent. Check text centering, icon alignment, padding, radii, and baseline alignment rather than accepting framework defaults blindly.
定义一套简洁的系统并在所有地方复用:
- 一套简洁的中性基础色和一种主强调色;
- 用于状态、图表、警告和破坏性操作的语义化颜色;
- 一种字体族,或经过精心搭配的少量字体组合,层级简洁;
- 统一的间距规范、控件高度、图标尺寸、边框粗细和圆角规范;
- 用于操作和对象的固定术语体系;
- 明确的主操作、次操作、三级操作和破坏性操作的处理规范。
优先选用近白色或柔和的中性底色、细边框和微妙的分隔方式。仅当阴影用于体现层级、焦点或重要起始点时才使用。除非品牌或需求明确要求,否则避免使用发光效果、冲突渐变、随意的毛玻璃效果和多种相互冲突的强调色。
使用一套统一的图标库,例如Lucide、Phosphor或项目已有的图标集。除非emoji是产品内容或品牌语言的一部分,否则不要将emoji用作界面图标或装饰。对于用户不熟悉的纯图标控件,搭配标签或tooltip。
保持控件的几何一致性。检查文本居中、图标对齐、内边距、圆角和基线对齐,不要盲目接受框架的默认设置。
Create hierarchy, not volume
构建层级,而非堆砌内容
Treat every screen like a sentence with one subject. Make the most important element obvious through size, weight, contrast, placement, or space, then turn down everything around it.
Reserve strong color for meaning or action. Let product data, statuses, and the primary action carry color while navigation and chrome stay quiet. Do not give every chip, button, KPI, or category a different color.
Choose components according to the information and task:
- use tables and compact lists for dense, comparable records;
- use cards when grouping is meaningful, not as the default container for everything;
- move infrequent row actions into a clear overflow menu;
- prioritize the number or field that matters and demote metadata;
- use a centered modal for a short, focused form instead of an empty side panel;
- vary space according to content importance rather than repeating identical card grids;
- prefer explicit pagination or “Load more” when it gives users control and a stopping point.
Audit every element with one question: does this help the user understand, decide, or complete the job? Remove it if it only makes the screen look populated.
将每个界面视为一个只有一个主语的句子。通过尺寸、字重、对比度、位置或留白让最重要的元素突出,然后弱化周围的所有元素。
将鲜艳的颜色留给具有特定含义或操作的元素。让产品数据、状态和主操作承载颜色,而导航和界面框架保持低调。不要给每个标签、按钮、KPI或类别都使用不同的颜色。
根据信息和任务选择合适的组件:
- 对于密集、可对比的记录,使用表格和紧凑列表;
- 仅当分组具有实际意义时才使用卡片,不要将其作为所有内容的默认容器;
- 将不常用的行操作移至清晰的溢出菜单中;
- 优先显示关键的数字或字段,弱化元数据;
- 对于简短、聚焦的表单,使用居中的modal而非空白侧边栏;
- 根据内容的重要性调整留白,不要重复使用相同的卡片网格;
- 如果能让用户获得控制权和停顿点,优先使用明确的分页或“Load more”按钮。
用一个问题审视每个元素:它是否能帮助用户理解、决策或完成任务?如果它只是为了让界面看起来饱满,则将其移除。
Write interface copy as navigation
将界面文案视为导航
Use plain, specific, outcome-oriented language from the user's side of the screen. Name controls by what happens: “Save changes,” “Send email,” or “Delete project,” not vague labels such as “Submit” or “Continue” when a more precise verb is available.
Use the same word for the same action throughout the product. If the button says “Publish,” the completion message says “Published.” Do not alternate among “delete,” “remove,” and “trash” for one operation.
Keep labels, helper text, and messages to one job each. Explain errors with a recovery path. Make empty states direct users toward a meaningful first action. Shift marketing copy from implementation or feature inventory toward the result the buyer wants.
使用用户视角的直白、具体、以结果为导向的语言。根据操作结果命名控件:例如“Save changes”“Send email”或“Delete project”,当有更精准的动词可用时,避免使用“Submit”或“Continue”这类模糊标签。
在整个产品中,对同一操作使用相同的术语。如果按钮显示“Publish”,则完成提示应显示“Published”。不要对同一操作交替使用“delete”“remove”和“trash”。
让标签、辅助文本和提示信息各自只服务于一个任务。解释错误时提供解决路径。让空状态引导用户进行有意义的首次操作。将营销文案从介绍实现细节或功能清单转向强调买家期望获得的结果。
Design the whole state model
设计完整的状态模型
Do not design only the ideal screenshot. Test realistic and hostile content: long names, missing values, zero results, many rows, narrow screens, slow requests, failed requests, and limited permissions. Define wrapping, truncation, overflow, and responsive behavior according to the content rather than using one arbitrary character limit.
For every asynchronous or consequential flow, include the states that apply:
- initial and empty;
- loading or progress;
- partial or disabled;
- error with recovery;
- success or completion;
- undo where practical.
Show immediate evidence that work is happening. Use skeletons for content-shaped loads, a familiar progress indicator for short waits, and explicit progress or reassuring status text for long jobs. Never leave a user staring at an unexplained blank surface.
Add ethical friction to destructive, expensive, or irreversible actions. State the consequence, require confirmation proportional to the risk, use typed confirmation only for genuinely severe actions, and show a clear completion state. Offer undo for recoverable destructive actions when possible.
不要只设计理想状态下的界面截图。测试真实且极端的内容场景:长名称、缺失值、零结果、大量数据行、窄屏、请求缓慢、请求失败和权限受限。根据内容定义换行、截断、溢出和响应式表现,而非使用任意的字符限制。
对于每个异步或有重要影响的流程,涵盖以下适用状态:
- 初始空状态;
- 加载或进度状态;
- 部分加载或禁用状态;
- 带恢复路径的错误状态;
- 成功或完成状态;
- 可行时提供撤销选项。
立即向用户反馈操作正在进行中。对于内容形状的加载,使用skeletons;短暂等待时使用常见的进度指示器;长时间任务则显示明确的进度或安心的状态文本。绝不要让用户盯着一个毫无解释的空白界面。
对破坏性、高成本或不可逆的操作添加合理的操作阻力。说明操作后果,根据风险程度要求用户确认;仅对真正严重的操作要求输入确认信息,并显示明确的完成状态。对于可恢复的破坏性操作,尽可能提供撤销选项。
Guide onboarding progressively
逐步引导用户上手
Avoid forced tours that users must dismiss before doing useful work. Make the first valuable action impossible to miss, reveal the next step after completion, and show a short progress path when setup has multiple steps.
Celebrate meaningful progress with restrained feedback. Confetti or playful motion may suit a first success or major milestone, but not routine actions. For B2B products, surface credible outcome metrics such as time saved, work completed, or revenue influenced when the data genuinely supports them.
避免强制引导,即用户必须先关闭引导才能进行有效操作。让首个有价值的操作醒目可见,完成后再展示下一步;当设置有多个步骤时,显示简短的进度路径。
用克制的反馈庆祝用户取得的重要进展。彩屑或趣味动效可能适合首次成功或重大里程碑,但不适用于常规操作。对于B2B产品,当数据真实支撑时,展示可信的成果指标,例如节省的时间、完成的工作或影响的收入。
Make motion earn its place
让动效物有所值
Use motion to communicate state, continuity, progress, hierarchy, or cause and effect. Keep it precise and brief. Avoid scroll-jacking, decorative entrance choreography, constant ambient movement, and parallax that does not teach the user anything. Respect reduced-motion preferences.
Ask: “What does this motion tell the user?” If the answer is nothing, remove it.
使用动效传达状态、连贯性、进度、层级或因果关系。动效应精准且简短。避免滚动劫持、装饰性入场动画、持续的背景动效以及无法向用户传递信息的视差效果。尊重用户的减少动效偏好。
问自己:“这个动效能向用户传递什么信息?”如果答案是没有,就移除它。
Design SaaS landing pages around proof
围绕实证设计SaaS落地页
Make the hero state the product, audience or problem, promised outcome, and primary next step without requiring interpretation. Keep identical destinations labeled identically across the page.
Prefer actual product evidence over generic stock imagery. Show a focused crop or small product demonstration that proves the section's claim; do not make visitors inspect a full dashboard screenshot to find the relevant detail. Avoid repeating the same alternating text-image section or identical four-card row down the page. Give important proof more space and let the page breathe.
Use only the sections needed to answer: What is this? How does it help? How does it work? Can I trust it? What does it cost? What do I do next? Add logos, testimonials, badges, a mega menu, illustration, or animation only when real content and product depth justify them.
让首屏清晰展示产品、目标受众或解决的问题、承诺的成果以及核心下一步操作,无需用户自行解读。页面中相同的跳转目标应使用相同的标签。
优先使用真实的产品实证而非通用库存图片。展示聚焦的截图片段或小型产品演示来佐证该部分的主张;不要让访客查看完整的仪表盘截图才能找到相关细节。避免在页面中重复使用相同的图文交替板块或完全一致的四卡片布局。给重要的实证更多空间,让页面有呼吸感。
仅保留回答以下问题所需的板块:这是什么?它能带来什么帮助?它如何运作?我能信任它吗?它的价格是多少?我下一步该做什么?仅当真实内容和产品深度需要时,才添加品牌标志、客户 testimonial、徽章、巨型菜单、插图或动画。
Build, inspect, and simplify
构建、检查与简化
Before implementation, write a compact design contract covering the screen's primary job, hierarchy, palette, type scale, spacing, radii, action hierarchy, icon family, and vocabulary. Reuse the project's tokens and components where they already solve the problem.
Then:
- Build the primary path and responsive structure.
- Add realistic content and the full state model.
- Inspect the rendered UI at desktop and mobile sizes.
- Check alignment, density, contrast, focus, keyboard use, and reduced motion.
- Remove visual material before adding more.
- Verify that a new user can identify the main action and current system state quickly.
Prefer a smaller, coherent interface over a larger showcase. Distinctiveness may come from the product's real content, brand, copy, or one justified signature detail, but never at the expense of clarity, trust, or task completion.
在实现之前,编写一份简洁的设计契约,涵盖界面的核心任务、层级、调色板、字体规范、间距、圆角、操作层级、图标库和术语体系。如果项目现有的tokens和组件已经能解决问题,就复用它们。
然后:
- 构建核心路径和响应式结构。
- 添加真实内容和完整状态模型。
- 在桌面端和移动端尺寸下检查渲染后的UI。
- 检查对齐方式、内容密度、对比度、焦点、键盘可用性和减少动效的适配。
- 在添加更多元素前先移除不必要的视觉元素。
- 验证新用户能否快速识别核心操作和当前系统状态。
优先选择简洁、连贯的界面,而非庞大的展示型界面。独特性可以来自产品的真实内容、品牌、文案或一个合理的标志性细节,但绝不能以牺牲清晰度、可信度或任务完成效率为代价。
Final audit
最终审核
Confirm all of the following before handoff:
- Every screen has one clear primary intent and visual subject.
- Primary, secondary, and destructive actions are unmistakable.
- Color communicates meaning instead of decorating the interface.
- Typography, spacing, radii, icons, and action verbs are consistent.
- Repeated components are compressed and scannable.
- Empty, loading, error, success, and destructive states are handled.
- Realistic data and narrow layouts do not break the design.
- Motion communicates something and reduced motion is respected.
- Landing-page claims are supported by focused product proof.
- Every remaining element helps the user understand, decide, or finish.
交付前确认以下所有事项:
- 每个界面都有一个清晰的核心目标和视觉主体。
- 主操作、次操作和破坏性操作清晰可辨。
- 颜色用于传达含义而非装饰界面。
- 字体、间距、圆角、图标和操作动词保持一致。
- 重复使用的组件简洁且易于扫描。
- 空状态、加载状态、错误状态、成功状态和破坏性操作状态都已妥善处理。
- 真实数据和窄屏布局不会破坏设计。
- 动效具有实际意义且尊重减少动效的偏好。
- 落地页的主张有聚焦的产品实证支撑。
- 所有保留的元素都能帮助用户理解、决策或完成任务。