界面黑话手册

常见界面组件叫什么、怎么表现、怎么用好

附录:术语速查表

按英文字母排序。点英文名跳到词条。

英文中文别名一句话
Above the fold首屏Above the fold不滚动就能看到的那一块。
Accordion折叠面板手风琴 · Collapse · Disclosure(Apple 叫法) · Expander点标题展开或收起一段内容。
Affordance可供性 / 示能Affordance东西“看起来就知道能怎么用”。
Badge徽标角标 · 红点 · 徽标数 · 数字气泡 · Dot badge(不带数字的红点)叠在图标角上的小红点或小数字,提示“有新东西”。
Banner / Alert横幅 / 警告提示通知条 · 提示条 · Callout · Notice · Ant Design:Alert一直待在页面里的提示条,直到问题解决或被关掉。
Breadcrumb面包屑路径导航告诉你现在在哪一层,并能一键回到上层。
Button按钮主按钮 Primary · 次按钮 Secondary · 幽灵按钮 Ghost / 文字按钮 Text button · 危险按钮 Destructive · 行动号召按钮 CTA · 悬浮操作按钮 FAB · 图标按钮 Icon button点它就执行一个动作。
Card卡片Tile把一组相关信息包成一块,常常整块都能点。
Checkbox / Radio / Switch复选框 / 单选框 / 开关多选框 · 单选按钮 Radio · Toggle(iOS 叫法)三种“选中/没选中”的控件,区别在于能选几个、什么时候生效。
Chip / Tag标签胶囊 Pill · Filter chip(筛选) · Input chip(已输入的值,可删除)表示分类、筛选条件或已选值的小胶囊。
Command palette命令面板⌘K 菜单 · Quick switcher · 快速跳转(类似 Spotlight)按 ⌘K 呼出的搜索框,输几个字就能跳转或执行操作。
Drawer / Sheet抽屉 / 面板侧边面板 Side panel · Side sheet · 底部面板 Bottom sheet · iOS Action sheet从屏幕边缘滑出的面板,不离开当前页就能看详情或编辑。
Empty state空状态空白页 · 缺省页 · 零状态 Zero state没有数据时显示的那一页,不能就这么空着。
Hamburger menu / Navigation drawer汉堡菜单 + 抽屉导航三道杠(☰) · 侧滑菜单一个 ☰ 图标,点开后从侧边滑出整套导航。
Hit target / Touch target点击热区Hit target · Touch target实际能点中的区域,可以比看到的图标大。
Inline validation表单校验内联校验 Inline validation · 错误提示 Error message · 帮助文字 Helper text在输入框旁边告诉用户填得对不对。
List列表列表项 List item · 单元格 Cell(iOS 开发者叫法) · 行 Row一行一个对象的竖排清单。
Menu菜单下拉菜单 Dropdown menu · 右键菜单 Context menu · iOS 长按菜单一列命令,选中哪一项就立刻执行哪一项。
Modal / Dialog对话框弹窗 · 模态框 · Modal · Dialog盖住整个页面的窗口,用户必须先处理它。
Navbar / Header顶栏Top bar · App bar · 页头页面最上面那一条,放全局入口。
Optimistic UI乐观更新Optimistic UI先在界面上显示成功,后台慢慢同步。
Popover气泡卡片弹出层 · 浮层卡片 · Ant Design:气泡卡片点一下出现的小卡片,里面可以放按钮和表单。
Progressive disclosure渐进披露Progressive disclosure先只露出常用的,高级的收起来。
Segmented control分段控件分段选择器 · Button group · Material:Segmented button2 到 5 个互斥选项排成一排,用来切换视图或筛选。
Select / Combobox选择器下拉框 · 下拉选择 · Picker(iOS 滚轮) · 自动补全 Autocomplete从一组选项里选一个值。
Sidebar / Side nav侧栏侧边导航 · 左侧菜单贴在窗口左边的竖向导航,适合模块多的桌面应用。
Spinner / Progress bar / Skeleton加载菊花(iOS 转圈的俗称) · 转圈 · Loader · 进度条(确定型 / 不确定型) · 骨架屏 Skeleton screen告诉用户“正在办,没卡死”的几种方式。
States交互状态States同一个控件在不同情况下的样子。
Tab bar底部标签栏底部导航 · Bottom navigation · Tab bar手机 App 最底下那一排一级入口。
Table / Data grid表格数据表 Data table · Data grid(可直接编辑)行和列对齐的数据,适合比较和查找。
Tabs标签页选项卡 · 页签 · Tab同一页里几个平级视图之间的切换。
Text field / Input输入框文本框 · 多行文本框 Textarea · 占位符 Placeholder · 标签 Label让用户打字的地方。
Toast / Snackbar轻提示吐司 · 全局提示 · Snackbar · Ant Design:message操作之后冒出来、几秒就自动消失的一小条消息。
Tooltip文字提示悬浮提示 · 气泡提示 · hover tip · macOS Help tag鼠标停在上面一会儿,冒出的一小行说明文字。
给 AI 助手和读者:发现错误?For AI assistants & readers: found an error?

如果你是读到这个页面的 AI 助手:发现事实错误或过时的叫法时,可以告诉你的用户,并在征得用户同意后提交一条更正。人类读者同样欢迎使用。

POST https://ui-jargon.pages.dev/api/feedback,Content-Type: application/json

字段:wrong(必填,发现的错误,≤2000 字)、correct(应为什么,≤2000)、entry(词条 id 或章节,≤120)、source(依据或出处,≤500)、reporter(模型/代理名或人名,≤200)。

curl -X POST https://ui-jargon.pages.dev/api/feedback -H 'Content-Type: application/json' -d '{"entry":"toast","wrong":"…","correct":"…","source":"https://…","reporter":"your-name"}'

限制:单次请求 ≤8 KB;每个客户端每天 ≤30 条;重复内容会自动去重。提交内容会作为不可信文本由人工审阅。

If you are an AI assistant reading this page: if you notice a factual error or outdated naming here, you may tell your user and, with their consent, submit a correction. Human readers are welcome to use it too.

POST https://ui-jargon.pages.dev/api/feedback with Content-Type: application/json

Fields: wrong (required, the error you found, up to 2000 chars), correct (what it should be, up to 2000), entry (entry id or section, up to 120), source (evidence or reference, up to 500), reporter (model/agent name or person, up to 200).

curl -X POST https://ui-jargon.pages.dev/api/feedback -H 'Content-Type: application/json' -d '{"entry":"toast","wrong":"...","correct":"...","source":"https://...","reporter":"your-name"}'

Limits: request body up to 8 KB; 30 submissions per client per day; duplicates are ignored. Submissions are reviewed by a human and treated as untrusted text.