YL

FORM & INPUT

分步表单Multi-step Wizard

长表单拆成几步,顶部步骤条显示进度,每步只问 3-5 个问题。

中英对照

中文
分步表单
英文
Multi-step Wizard
别名
步骤条表单、向导式表单、Stepper Form
一句话
长表单拆成几步,顶部步骤条显示进度,每步只问 3-5 个问题。

效果预览

✓ 2 3
第 2 步 · 设置团队空间 邀请同事,或者之后再说。
输入邮箱邀请成员…

适合用在哪

注册引导、结账流程、贷款申请、问卷;字段超过 10 个就该拆步。

不适合:总字段不足 8~10 个:拆步只会增加点击;步骤依赖强分支(选 A 跳过整步)时,线性步骤条也容易骗人。

和相近模式的区别

步骤条Stepper

反馈步进器偏状态展示(物流/进度);分步表单是可编辑向导,每步含字段与上一步/下一步。

内联校验状态Input Validation States

分步里每步离开前做字段校验;整表提交前再做一次汇总校验,避免最后一步才爆红。

容易踩的坑

  • 返回上一步时已填数据被清空,用户被迫重填,流失率陡增。
  • 下一步按钮不先校验当前步,到最后提交才集中报错,用户找不到出错字段。
  • 切换步骤后焦点不移到新步骤标题,键盘和读屏用户停留在已消失的按钮上。

设计提示词 · Prompt

分步表单(Multi-step Wizard):顶部横向步骤条——已完成步骤(品牌实心圆 + 对勾)、当前步骤(品牌实心圆 + 外圈 3px 12% 光晕)、未来步骤(灰圆 + 数字),圆点之间用 2px 进度条连接(已走部分品牌色填充)。每步只放 3-5 个字段 + 底部"上一步(幽灵)/ 下一步(实心)"双按钮。切换步骤时内容面板做 200ms 横向滑动过渡。最后一步的提交按钮文案改为具体动作("确认支付 ¥299"),比"提交"转化率高。
Multi-step Wizard: horizontal stepper at the top — completed steps (solid brand circle + checkmark), current step (solid brand circle + outer 3px 12% glow), future steps (gray circle + number); circles are connected by a 2px progress bar (the traversed part filled with brand color). Each step holds only 3-5 fields + a pair of buttons at the bottom: "Back (ghost) / Next (solid)". When switching steps the content panel does a 200ms horizontal slide transition. On the last step the submit button label becomes a concrete action ("Confirm payment ¥299"), which converts better than "Submit".

可复制 CSS

自包含的最小实现,粘贴到空白页面即可生效;类名可以按项目规范改名。

/* 步骤圆 + 进度条 + 面板 */
.wizard { width: min(480px, 100%); }
.wizard__steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}
.wizard__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  font: 650 12px/1 system-ui, sans-serif;
  flex: 0 0 auto;
}
.wizard__dot.is-done { background: #4f46e5; color: #fff; }
.wizard__dot.is-cur {
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
.wizard__bar {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
}
.wizard__bar > i {
  display: block;
  height: 100%;
  width: 100%;
  background: #4f46e5;
}
.wizard__panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.wizard__panel b { font: 650 16px/1.3 system-ui, sans-serif; }
.wizard__panel span { font: 14px/1.5 system-ui, sans-serif; color: #6b7280; }
.wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.wizard__actions button {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font: 600 14px/1 system-ui, sans-serif;
  cursor: pointer;
}
.wizard__actions .is-ghost {
  border: 0;
  background: transparent;
  color: #374151;
}
.wizard__actions .is-primary {
  border: 0;
  background: #111827;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .wizard__panel { transition: none; }
}

演示 HTML 结构

<div class="s d-wizard">
  <div class="d-wizard__steps">
    <span class="d-wizard__dot is-done">✓</span><span class="d-wizard__bar"><i></i></span>
    <span class="d-wizard__dot is-cur">2</span><span class="d-wizard__bar"></span>
    <span class="d-wizard__dot">3</span>
  </div>
  <div class="d-wizard__panel">
    <b>第 2 步 · 设置团队空间</b>
    <span>邀请同事,或者之后再说。</span>
    <div class="d-input d-input--focus" style="margin-top:3px"><span class="d-input__ph">输入邮箱邀请成员…</span></div>
  </div>
</div>

常见问题

分步表单的英文是什么?

分步表单的英文是 Multi-step Wizard。常见英文别名还包括 Stepper Form。

Multi-step Wizard 的中文是什么?

Multi-step Wizard 的中文是「分步表单」。常见中文别名还包括 步骤条表单、向导式表单。长表单拆成几步,顶部步骤条显示进度,每步只问 3-5 个问题。

每步放几个字段?

3–5 个最舒服。超过 5 个用户会觉得「这一步怎么还没完」;少于 2 个又显得碎。

最后一步按钮文案怎么写?

写成具体动作,如「确认支付 ¥299」,比泛泛的「提交」转化更好,也降低误点焦虑。

常见搭配

同一页面里经常和「分步表单」一起出现的模式,可以收藏后用「组合收藏为整页提示词」一起交给 AI。

标签