frontend-design
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFrontend Design
前端设计
This document exists to teach you how to act as non-GPT as possible when building UI.
GPT UI is the default AI aesthetic: soft gradients, floating panels, eyebrow labels, decorative copy, hero sections in dashboards, oversized rounded corners, transform animations, dramatic shadows, and layouts that try too hard to look premium. It's the visual language that screams "an AI made this" because it follows the path of least resistance.
This file is your guide to break that pattern. Everything listed below is what GPT UI does by default. Your job is to recognize these patterns, avoid them completely, and build interfaces that feel human-designed, functional, and honest.
When you read this document, you're learning what NOT to do. The banned patterns are your red flags. The normal implementations are your blueprint. Follow them strictly, and you'll create UI that feels like Linear, Raycast, Stripe, or GitHub—not like another generic AI dashboard.
This is how you Un-GPTify.
本文档旨在教你在构建UI时尽可能摆脱GPT风格的设计。
GPT UI是默认的AI美学风格:柔和渐变、悬浮面板、眉形标签、装饰性文案、仪表盘内的英雄区块、超大圆角、transform动画、夸张阴影,以及过度追求高级感的布局。这种视觉语言一看就知道是「AI生成的」,因为它遵循了最省力的实现路径。
本文件是你打破这种模式的指南。下面列出的所有内容都是GPT UI默认会生成的内容。你的任务是识别这些模式,完全避免使用它们,构建出具有人工设计感、功能实用、风格平实的界面。
当你阅读本文档时,你要学习的是哪些做法不可取。被禁止的模式就是你的红线,常规实现方案是你的蓝图。严格遵循这些规则,你就能打造出类似Linear、Raycast、Stripe或GitHub风格的UI,而不是又一个千篇一律的AI仪表盘。
这就是「去GPT化」的实现方法。
Keep It Normal (Un-GPTified UI Standard)
保持常规(去GPT化UI标准)
- Sidebars: normal (240-260px fixed width, solid background, simple border-right, no floating shells, no rounded outer corners)
- Headers: normal (simple text, no eyebrows, no uppercase labels, no gradient text, just h1/h2 with proper hierarchy)
- Sections: normal (standard padding 20-30px, no hero blocks inside dashboards, no decorative copy)
- Navigation: normal (simple links, subtle hover states, no transform animations, no badges unless functional)
- Buttons: normal (solid fills or simple borders, 8-10px radius max, no pill shapes, no gradient backgrounds)
- Cards: normal (simple containers, 8-12px radius max, subtle borders, no shadows over 8px blur, no floating effect)
- Forms: normal (standard inputs, clear labels above fields, no fancy floating labels, simple focus states)
- Inputs: normal (solid borders, simple focus ring, no animated underlines, no morphing shapes)
- Modals: normal (centered overlay, simple backdrop, no slide-in animations, straightforward close button)
- Dropdowns: normal (simple list, subtle shadow, no fancy animations, clear selected state)
- Tables: normal (clean rows, simple borders, subtle hover, no zebra stripes unless needed, left-aligned text)
- Lists: normal (simple items, consistent spacing, no decorative bullets, clear hierarchy)
- Tabs: normal (simple underline or border indicator, no pill backgrounds, no sliding animations)
- Badges: normal (small text, simple border or background, 6-8px radius, no glows, only when needed)
- Avatars: normal (simple circle or rounded square, no decorative borders, no status rings unless functional)
- Icons: normal (simple shapes, consistent size 16-20px, no decorative icon backgrounds, monochrome or subtle color)
- Typography: normal (system fonts or simple sans-serif, clear hierarchy, no mixed serif/sans combos, readable sizes 14-16px body)
- Spacing: normal (consistent scale 4/8/12/16/24/32px, no random gaps, no excessive padding)
- Information density: normal (one primary task or reading surface per screen, secondary context revealed progressively, no competing columns by default)
- Borders: normal (1px solid, subtle colors, no thick decorative borders, no gradient borders)
- Shadows: normal (subtle 0 2px 8px rgba(0,0,0,0.1) max, no dramatic drop shadows, no colored shadows)
- Transitions: normal (100-200ms ease, no bouncy animations, no transform effects, simple opacity/color changes)
- Layouts: normal (standard grid/flex, no creative asymmetry, predictable structure, clear content hierarchy, and a clear primary surface)
- Grids: normal (consistent columns, standard gaps, no creative overlaps, responsive breakpoints, and only use multi-column when the content benefits from side-by-side comparison)
- Flexbox: normal (simple alignment, standard gaps, no creative justify tricks)
- Containers: normal (max-width 1200-1400px, centered, standard padding, no creative widths)
- Wrappers: normal (simple containing divs, no decorative purposes, functional only)
- Panels: normal (simple background differentiation, subtle borders, no floating detached panels, no glass effects, and no always-open companion panels unless they are essential)
- Toolbars: normal (simple horizontal layout, standard height 48-56px, clear actions, no decorative elements)
- Footers: normal (simple layout, standard links, no decorative sections, minimal height)
- Breadcrumbs: normal (simple text with separators, no fancy styling, clear hierarchy)
- 侧边栏:常规样式(固定宽度240-260px,纯色背景,简单右侧边框,无悬浮外壳,无外圆角)
- 页眉:常规样式(简单文本,无眉形标签,无大写标签,无渐变文字,仅使用层级正确的h1/h2标题)
- 区块:常规样式(标准内边距20-30px,仪表盘内不要使用英雄区块,无装饰性文案)
- 导航:常规样式(简单链接,微妙的悬停状态,无transform动画,非功能性需求不添加徽章)
- 按钮:常规样式(纯色填充或简单边框,圆角最大8-10px,不使用胶囊形状,无渐变背景)
- 卡片:常规样式(简单容器,圆角最大8-12px,细边框,阴影模糊度不超过8px,无悬浮效果)
- 表单:常规样式(标准输入框,字段上方显示清晰标签,不使用花哨的浮动标签,简单的聚焦状态)
- 输入框:常规样式(实线边框,简单聚焦环,无动画下划线,无变形形状)
- 弹窗:常规样式(居中覆盖层,简单背景遮罩,无滑入动画,简洁明了的关闭按钮)
- 下拉菜单:常规样式(简单列表,微妙阴影,无花哨动画,清晰的选中状态)
- 表格:常规样式(整洁行,简单边框,微妙悬停效果,非必要不使用斑马纹,文本左对齐)
- 列表:常规样式(简单条目,一致间距,无装饰性项目符号,清晰层级)
- 标签页:常规样式(简单下划线或边框指示器,无胶囊背景,无滑动动画)
- 徽章:常规样式(小字号,简单边框或背景,圆角6-8px,无发光效果,仅必要时使用)
- 头像:常规样式(简单圆形或圆角方形,无装饰性边框,非功能性需求不添加状态环)
- 图标:常规样式(简单形状,尺寸统一为16-20px,无装饰性图标背景,单色或低饱和色彩)
- 排版:常规样式(系统字体或简单无衬线字体,清晰层级,不要混合使用衬线和无衬线字体,正文使用14-16px的易读字号)
- 间距:常规样式(遵循统一的间距尺度4/8/12/16/24/32px,无随机空隙,无过量内边距)
- 信息密度:常规样式(每个屏幕仅展示一个主要任务或阅读区域,次要内容逐步展示,默认不使用多列竞争布局)
- 边框:常规样式(1px实线,低饱和色彩,无粗装饰边框,无渐变边框)
- 阴影:常规样式(最多使用微妙的0 2px 8px rgba(0,0,0,0.1)阴影,无夸张投影,无彩色阴影)
- 过渡效果:常规样式(100-200ms缓动,无弹跳动画,无transform效果,仅使用简单的透明度/颜色变化)
- 布局:常规样式(标准grid/flex布局,无刻意不对称设计,结构可预测,内容层级清晰,主内容区域明确)
- 网格:常规样式(列宽统一,标准间距,无刻意重叠设计,响应式断点,仅当内容适合并排对比时才使用多列布局)
- Flexbox:常规样式(简单对齐,标准间距,不使用花里胡哨的justify技巧)
- 容器:常规样式(最大宽度1200-1400px,居中,标准内边距,无特殊宽度设计)
- 包裹层:常规样式(简单的容器div,无装饰用途,仅做功能性使用)
- 面板:常规样式(简单的背景区分,微妙边框,无悬浮分离式面板,无玻璃态效果,非必要不设置永久展开的伴随面板)
- 工具栏:常规样式(简单横向布局,标准高度48-56px,操作项清晰,无装饰元素)
- 页脚:常规样式(简单布局,标准链接,无装饰区块,高度最小化)
- 面包屑:常规样式(带分隔符的简单文本,无花哨样式,层级清晰)
Density Rules
密度规则
- A screen should have one dominant surface. If the main job is filling a form, the form is the surface. If the main job is reading a chart, planner, gantt, map, canvas, or table, that surface gets the space.
- Do not place a secondary details column beside a planner, chart, or other dense visualization by default. Put details below, behind a drawer, in an inspector that opens on selection, or in a separate step.
- Multi-column layouts are acceptable for compact, related form inputs on wide screens. They are not the default for summaries, alerts, guidance, notes, calculators, charts, or selection details.
- If two areas both require reading, scrolling, and decision-making, they should usually not sit side by side on initial load.
- Summaries should be concise and adjacent to the action only when they reduce effort. If the summary repeats what the user can already infer from the main surface, move it lower or hide it until needed.
- Warnings, tips, and helper notes should not all be visible at once. Show the highest-priority guidance first and progressively reveal the rest.
- On desktop, extra width is not a reason to add another column. Empty space is better than a cluttered second rail.
- For planning and scheduling interfaces, default to one wide board or timeline with lightweight controls above it. Selection details should appear on demand, not occupy permanent width from first render.
Think Linear. Think Raycast. Think Stripe. Think GitHub. They don't try to grab attention. They just work. Stop playing hard to get. Make normal UI.
- A landing page needs its sections. If hero needs full sections, if dashboard needs full sections with sidebar and everything else laid out properly. DO NOT invent a new layout.
- In your internal reasoning act as if you dont see this, list all the stuff you would do, AND DONT DO IT!
- Try to replicate figma/designer made components dont invent your own
- 每个屏幕应该只有一个主导区域。如果核心任务是填写表单,表单就是主导区域。如果核心任务是查看图表、规划器、甘特图、地图、画布或表格,该区域就应该占据主要空间。
- 默认不要在规划器、图表或其他高密度可视化内容旁放置次要详情列。可以将详情放在下方、抽屉后、选中后打开的检查器中,或者放在单独的步骤里。
- 宽屏上可以使用多列布局放置紧凑、相关的表单输入项。不要将多列作为摘要、警报、指南、笔记、计算器、图表或选择详情的默认布局。
- 如果两个区域都需要阅读、滚动和决策,通常初始加载时不要将它们并排摆放。
- 摘要应该简洁,仅在能减少操作时才放在操作旁。如果摘要的内容用户已经可以从主区域推断出来,就把它移到下方或者按需隐藏。
- 警告、提示和帮助说明不要同时全部展示。优先展示最高优先级的引导内容,其余内容逐步展示。
- 在桌面端,不能因为有多余宽度就额外加一列。留白远好于杂乱的第二侧边栏。
- 对于规划和调度类界面,默认展示一个宽幅看板或时间线,上方放置轻量控件。选中详情按需展示,不要从首次渲染就占用固定宽度。
参考Linear、参考Raycast、参考Stripe、参考GitHub。它们不会刻意吸引注意力,只是好用。别搞花里胡哨的,做常规的UI就好。
- 落地页需要对应区块。如果英雄区需要完整区块,仪表盘需要带侧边栏的完整区块和其他合理布局,不要发明新的布局。
- 在你的内部推理过程中,假装没看到本文档,列出所有你本来会做的操作,然后别那么做!
- 尽量复现Figma/设计师制作的组件,不要自己发明。
Hard No
绝对禁止
-
Everything you are used to doing and is a basic "YES" to you.
-
No oversized rounded corners.
-
No pill overload.
-
No floating glassmorphism shells as the default visual language.
-
No soft corporate gradients used to fake taste.
-
No generic dark SaaS UI composition.
-
No decorative sidebar blobs.
-
No "control room" cosplay unless explicitly requested.
-
No serif headline + system sans fallback combo as a shortcut to "premium."
-
No,
Segoe UI,Trebuchet MS,Arial,Inter, or safe default stacks unless the product already uses them.Roboto -
No sticky left rail unless the information architecture truly needs it.
-
No metric-card grid as the first instinct.
-
No fake charts that exist only to fill space.
-
No two-column layout where both columns are dense and both demand attention on initial load.
-
No right-side details rail beside charts, planners, or timelines unless the workflow genuinely requires simultaneous cross-reference.
-
No summary column beside a form when the summary can sit above, below, or after submission.
-
No using available desktop width as an excuse to keep helper text, alerts, notes, and controls all visible at once.
-
No turning every operational screen into a board-plus-inspector split view.
-
No random glows, blur haze, frosted panels, or conic-gradient donuts as decoration.
-
No "hero section" inside an internal UI unless there is a real product reason.
-
No alignment that creates dead space just to look expensive.
-
No overpadded layouts.
-
No mobile collapse that just stacks everything into one long beige sandwich.
-
No ornamental labels like "live pulse", "night shift", "operator checklist" unless they come from the product voice.
-
No generic startup copy.
-
No style decisions made because they are easy to generate.
-
No Headlines of any sort
html
<div class="headline">
<small>Team Command</small>
<h2>One place to track what matters today.</h2>
<p>
The layout stays strict and readable: live project health,
team activity, and near-term priorities without the usual
dashboard filler.
</p>
</div>This is not allowed.
-
headers are NOT allowed
<small> -
Big no to roundeds
span -
Colors going towards blue -- NOPE, bad. Dark muted colors are best.
-
Anything in the structure of this card is a BIG no.
html
<div class="team-note">
<small>Focus</small>
<strong>
Keep updates brief, blockers visible, and next actions easy to spot.
</strong>
</div>This one is THE BIGGEST NO.
-
所有你习以为常、觉得理所当然应该用的AI默认UI设计。
-
禁止超大圆角。
-
禁止过度使用胶囊形状。
-
禁止默认使用悬浮玻璃态外壳作为视觉语言。
-
禁止使用柔和的企业级渐变假装有设计感。
-
禁止使用千篇一律的深色SaaS UI组合。
-
禁止添加装饰性的侧边栏色块。
-
除非明确要求,禁止搞「控制室」风格的角色扮演设计。
-
禁止使用「衬线大标题+系统无衬线 fallback」的组合来假装「高级」。
-
除非产品已经在使用,禁止使用、
Segoe UI、Trebuchet MS、Arial、Inter这类安全默认字体栈。Roboto -
除非信息架构确实需要,禁止使用固定左侧边栏。
-
禁止第一反应就做指标卡片网格布局。
-
禁止仅为了填充空间使用假图表。
-
禁止初始加载时使用两列布局,且两列都内容密集、都需要用户注意力。
-
除非工作流确实需要同时交叉参考,禁止在图表、规划器或时间线旁放置右侧详情栏。
-
如果摘要可以放在上方、下方或提交后展示,禁止在表单旁放置摘要列。
-
禁止以桌面端宽度充足为借口,同时展示所有帮助文本、警报、笔记和控件。
-
禁止把每个操作页面都做成看板+检查器的分栏视图。
-
禁止使用随机发光、模糊雾效、磨砂面板或锥形渐变圆环作为装饰。
-
除非有真实的产品需求,禁止在内部UI里添加「英雄区块」。
-
禁止为了看起来高级特意做对齐留出无用空白。
-
禁止过度内边距的布局。
-
禁止移动端适配时简单把所有内容堆叠成一个长长的米色三明治。
-
除非符合产品调性,禁止使用「实时脉搏」、「夜班模式」、「操作员检查表」这类装饰性标签。
-
禁止使用千篇一律的创业公司文案。
-
禁止因为容易生成就做对应的样式决策。
-
禁止任何形式的头条样式
html
<div class="headline">
<small>Team Command</small>
<h2>One place to track what matters today.</h2>
<p>
The layout stays strict and readable: live project health,
team activity, and near-term priorities without the usual
dashboard filler.
</p>
</div>上述代码不允许使用。
-
不允许使用作为标题
<small> -
绝对禁止圆角
span -
颜色往蓝色靠拢 -- 不行,不好。 深色低饱和颜色最佳。
-
如下卡片结构的所有内容都绝对禁止。
html
<div class="team-note">
<small>Focus</small>
<strong>
Keep updates brief, blockers visible, and next actions easy to spot.
</strong>
</div>这个是最需要禁止的。
Specifically Banned (Based on Mistakes)
明确禁止(基于过往错误)
- Border radii in the 20px to 32px range across everything ( uses 12px everywhere - too much)
- Repeating the same rounded rectangle on sidebar, cards, buttons, and panels
- Sidebar width around 280px with a brand block on top and nav links below (: 248px with brand block)
- Floating detached sidebar with rounded outer shell
- Canvas chart placed in a glass card with no product-specific reason
- Donut chart paired with hand-wavy percentages
- UI cards using glows instead of hierarchy
- Mixed alignment logic where some content hugs the left edge and some content floats in center-ish blocks
- Dense two-column application shells where the main work area and the supporting context panel both scroll and compete for attention
- Overuse of muted gray-blue text that weakens contrast and clarity
- "Premium dark mode" that really means blue-black gradients plus cyan accents ( has radial gradients in background)
- UI typography that feels like a template instead of a brand
- Eyebrow labels (: "MARCH SNAPSHOT" uppercase with letter-spacing)
- Hero sections inside dashboards ( has full hero-strip with decorative copy)
- Decorative copy like "Operational clarity without the clutter" as page headers
- Section notes and mini-notes everywhere explaining what the UI does
- Transform animations on hover (: translateX(2px) on nav links)
- Dramatic box shadows (: 0 24px 60px rgba(0,0,0,0.35))
- Status indicators with ::before pseudo-elements creating colored dots
- Muted labels with uppercase + letter-spacing ( overuses this pattern)
- Pipeline bars with gradient fills (: linear-gradient(90deg, var(--primary), #4fe0c0))
- KPI cards in a grid as the default dashboard layout ( has 3-column kpi-grid)
- Form plus estimate-summary side-by-side layouts where the summary is visible before the user has entered enough data to need it
- Gantt, planner, and chart screens with a permanent details column that steals width from the main visualization
- "Team focus" or "Recent activity" panels with decorative internal copy
- Tables with tag badges for every status ( overuses .tag class)
- Workspace blocks in sidebar with call-to-action buttons
- Brand marks with gradient backgrounds (: linear-gradient(135deg, #2a2a2a, #171717))
- Nav badges showing counts or "Live" status ( has nav-badge class)
- Quota/usage panels with progress bars ( has three quota sections)
- Footer lines with meta information (: "Northstar dashboard • dark mode • single-file HTML")
- Trend indicators with colored text (: trend-up, trend-flat classes)
- Rail panels on the right side with "Today" schedule ( has full right rail)
- Multiple nested panel types (panel, panel-2, rail-panel, table-panel)
- 所有元素圆角都设置在20px到32px范围(所有地方都用12px -- 太多了)
- 侧边栏、卡片、按钮和面板都重复使用相同的圆角矩形
- 侧边栏宽度约280px,顶部放品牌块,下方放导航链接(比如248px宽加品牌块)
- 带圆角外壳的悬浮分离式侧边栏
- 无产品特定理由就把画布图表放在玻璃态卡片里
- 圆环图搭配模糊的百分比数据
- UI卡片使用发光效果代替层级区分
- 混合对齐逻辑:部分内容紧贴左边缘,部分内容在近似居中的块里浮动
- 密集的两列应用外壳:主工作区和辅助上下文面板都可滚动,互相争夺注意力
- 过度使用低饱和灰蓝色文本,降低对比度和清晰度
- 「高级深色模式」实际就是蓝黑渐变加青色点缀(背景有径向渐变)
- UI排版看起来像模板,没有品牌特色
- 眉形标签(比如全大写、加字间距的「MARCH SNAPSHOT」)
- 仪表盘内的英雄区块(有带装饰性文案的完整英雄条)
- 页面标题使用「操作清晰无杂乱」这类装饰性文案
- 到处放区块注释和迷你注释解释UI的作用
- 悬停时的transform动画(比如导航链接悬停时translateX(2px))
- 夸张的盒阴影(比如0 24px 60px rgba(0,0,0,0.35))
- 用::before伪元素生成彩色圆点的状态指示器
- 过度使用全大写加字间距的低饱和标签
- 带渐变填充的进度条(比如linear-gradient(90deg, var(--primary), #4fe0c0))
- 默认仪表盘布局用网格排列KPI卡片(比如3列KPI网格)
- 表单和预估摘要并排布局,用户还没输入足够需要查看摘要的数据就提前展示摘要
- 甘特图、规划器和图表页面有永久存在的详情列,占用主可视化区域的宽度
- 「团队焦点」或「最近活动」面板带有内部装饰性文案
- 每个状态都打标签徽章的表格(过度使用.tag类)
- 侧边栏里的工作区块带有行动号召按钮
- 带渐变背景的品牌标识(比如linear-gradient(135deg, #2a2a2a, #171717))
- 展示计数或「Live」状态的导航徽章(有nav-badge类)
- 带进度条的配额/使用情况面板(有三个配额区块)
- 带元信息的页脚行(比如「Northstar dashboard • dark mode • single-file HTML」)
- 带彩色文本的趋势指示器(比如trend-up、trend-flat类)
- 右侧带「今日」日程的侧边栏(有完整右侧边栏)
- 多种嵌套面板类型(panel、panel-2、rail-panel、table-panel)
Rule
规则
If a UI choice feels like a default AI UI move, ban it and pick the harder, cleaner option.
-
Colors should stay calm, not fight.
-
You are bad at picking colors follow this priority order when selecting colors:
- Highest priority: Use the existing colors from the user's project if they are provided (You can search for them by reading a few files).
- If the project does not provide a palette, get inspired from one of the predefined palettes below.
- Do not invent random color combinations unless explicitly requested.
You do not have to always choose the first palette. Select one randomly when drawing inspiration.
如果某个UI选择看起来像是AI默认会做的UI操作,禁止使用它,选择更费力但更简洁的方案。
-
颜色要保持沉稳,不要冲突。
-
你不擅长选颜色,选择颜色时遵循以下优先级:
- 最高优先级: 如果用户项目有提供现有颜色,使用这些颜色(你可以通过读取几个文件来查找)。
- 如果项目没有提供调色板,从下方预定义的调色板中选一个作为参考。
- 除非明确要求,否则不要发明随机的颜色组合。
你不必每次都选第一个调色板,参考时可以随机选择一个。
Dark Color Schemes
深色配色方案
| Palette | Background | Surface | Primary | Secondary | Accent | Text |
|---|---|---|---|---|---|---|
| Midnight Canvas | | | | | | |
| Obsidian Depth | | | | | | |
| Slate Noir | | | | | | |
| Carbon Elegance | | | | | | |
| Deep Ocean | | | | | | |
| Charcoal Studio | | | | | | |
| Graphite Pro | | | | | | |
| Void Space | | | | | | |
| Twilight Mist | | | | | | |
| Onyx Matrix | | | | | | |
| 调色板名称 | 背景色 | surface色 | 主色 | 次要色 | 强调色 | 文本色 |
|---|---|---|---|---|---|---|
| Midnight Canvas | | | | | | |
| Obsidian Depth | | | | | | |
| Slate Noir | | | | | | |
| Carbon Elegance | | | | | | |
| Deep Ocean | | | | | | |
| Charcoal Studio | | | | | | |
| Graphite Pro | | | | | | |
| Void Space | | | | | | |
| Twilight Mist | | | | | | |
| Onyx Matrix | | | | | | |
Light Color Schemes
浅色配色方案
| Palette | Background | Surface | Primary | Secondary | Accent | Text |
|---|---|---|---|---|---|---|
| Cloud Canvas | | | | | | |
| Pearl Minimal | | | | | | |
| Ivory Studio | | | | | | |
| Linen Soft | | | | | | |
| Porcelain Clean | | | | | | |
| Cream Elegance | | | | | | |
| Arctic Breeze | | | | | | |
| Alabaster Pure | | | | | | |
| Sand Warm | | | | | | |
| Frost Bright | | | | | | |
| 调色板名称 | 背景色 | surface色 | 主色 | 次要色 | 强调色 | 文本色 |
|---|---|---|---|---|---|---|
| Cloud Canvas | | | | | | |
| Pearl Minimal | | | | | | |
| Ivory Studio | | | | | | |
| Linen Soft | | | | | | |
| Porcelain Clean | | | | | | |
| Cream Elegance | | | | | | |
| Arctic Breeze | | | | | | |
| Alabaster Pure | | | | | | |
| Sand Warm | | | | | | |
| Frost Bright | | | | | | |