YL

BUTTON

箭头滑入按钮Arrow Slide Button

箭头本来就在文字右侧,悬停时再往右滑一截,文字轻轻让开。

中英对照

中文
箭头滑入按钮
英文
Arrow Slide Button
别名
箭头按钮、悬停滑入、Slide Arrow CTA
一句话
箭头本来就在文字右侧,悬停时再往右滑一截,文字轻轻让开。

效果预览

常见变体

圆形箭头槽Arrow in Circle

箭头放进按钮右侧一枚白色小圆里,按钮右内边距收窄,圆槽本身不动、只有箭头在里面右移。

适合用在哪

落地页主 CTA、卡片底部的「查看方案」、任何想提示「这里能继续」的按钮。

不适合:原地生效的操作(提交表单、保存设置、加入购物车、确认支付):右箭头暗示「前往下一处」,用在不跳转的按钮上会让用户以为要离开当前页面。

和相近模式的区别

图标文字按钮Icon Label Button

图标文字按钮的图标在左、静止不动,用来说明动作类型(下载、邮件);箭头滑入按钮的箭头在右、悬停时会动,只表达「继续前往」。同一颗按钮不要左边放图标、右边再放会动的箭头。

容易踩的坑

  • 箭头用 width:0 藏起来,悬停时按钮突然变宽,旁边的元素被挤开。
  • 静止时完全不显示箭头,截图和首屏第一眼都看不出这个模式。
  • 只写了 :hover,键盘 focus-visible 时箭头不动,键盘用户得不到同一反馈。

设计提示词 · Prompt

箭头滑入按钮(Arrow Slide Button):文字在左、箭头在右,箭头默认就占好宽度(约 14px),否则静止时看不出这个模式。悬停和 focus-visible 时文字左移 2px、箭头再向右滑 3-4px,过渡 280ms cubic-bezier(.32,.72,0,1)。箭头用行内元素,方便跟文字一起反色。按钮高度 44-48px,实心深色或品牌色。不要用 width 从 0 撑开,按钮宽度会跳。整站只选一种方向:箭头向右表示前往,不要混用向上的箭头。
Arrow Slide Button: label on the left, arrow on the right, and the arrow reserves its width (about 14px) by default — otherwise the resting state doesn't show the pattern. On hover and focus-visible the label shifts left 2px and the arrow slides another 3-4px to the right, over 280ms with cubic-bezier(.32,.72,0,1). Use an inline element for the arrow so it can invert color with the text. Button height 44-48px, solid dark or brand color. Don't grow the arrow from width:0 — the button width will jump. Pick one direction for the whole site: a right arrow means continue; don't mix in upward arrows.

可复制 CSS

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

/* <a class="arrow-btn" href="/pricing"><span>查看方案</span><i aria-hidden="true">→</i></a>;在当前页执行动作时换成 <button class="arrow-btn" type="button"> */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px 0 22px;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font: 600 15px/1 system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.arrow-btn > span,
.arrow-btn > i {
  display: inline-block;
  transition: transform .28s cubic-bezier(.32, .72, 0, 1);
}
.arrow-btn > i { width: 14px; font-style: normal; text-align: center; }
.arrow-btn:hover > span, .arrow-btn:focus-visible > span { transform: translateX(-2px); }
.arrow-btn:hover > i, .arrow-btn:focus-visible > i { transform: translateX(4px); }
.arrow-btn:focus-visible { outline: 2px solid #6366f1; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .arrow-btn > span, .arrow-btn > i { transition: none; }
}

演示 HTML 结构

<div class="s" style="display:flex;justify-content:center;padding:16px 0">
  <button class="d-arrowbtn" type="button"><span>查看方案</span><i aria-hidden="true">→</i></button>
</div>

无障碍与性能

无障碍

  • 箭头加 aria-hidden="true",可访问名称只来自文字,避免读屏念出「右箭头」。
  • 文案要写清去向(「查看方案」而不是「点击这里」),箭头只是方向提示,不能替代文字。

性能

  • 只动画 transform,不改 margin、gap 或 width,位移不会触发重排,旁边的元素也不会被挤动。

常见问题

箭头滑入按钮的英文是什么?

箭头滑入按钮的英文是 Arrow Slide Button。常见英文别名还包括 Slide Arrow CTA。

Arrow Slide Button 的中文是什么?

Arrow Slide Button 的中文是「箭头滑入按钮」。常见中文别名还包括 箭头按钮、悬停滑入。箭头本来就在文字右侧,悬停时再往右滑一截,文字轻轻让开。

箭头用字符 → 还是 SVG 图标?

两种都行。字符 → 的宽度、粗细和垂直位置取决于当前字体,不同系统上会略有偏差;SVG 箭头加 stroke="currentColor" 在各平台一致,也能跟着文字一起变色。无论哪种,都要加 aria-hidden="true"。

箭头按钮该用 <a> 还是 <button>?

看点击后发生什么。跳到另一个页面(如「查看方案」去定价页)用 <a href>,可以新标签打开、能被搜索引擎跟踪;在当前页打开弹窗或执行动作用 <button>。两者可以套同一套样式。

常见搭配

同一页面里经常和「箭头滑入按钮」一起出现的模式,可以收藏后用「组合收藏为整页提示词」一起交给 AI。

标签