Chevron reveal

Chevron reveal: a CSS button. Copy the rules, or the prompt that rebuilds it.

iconchevronhidden-iconwidth-grow

CSS
.btn-081 {
  display: inline-flex;
  align-items: center;
  font: 600 14px/1 system-ui,sans-serif;
  color: #fff;
  background: #7c3aed;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background .15s
}
.btn-081 svg {
  width: 0;
  opacity: 0;
  margin-left: 0;
  transition: width .2s,opacity .2s,margin-left .2s
}
.btn-081:hover {
  background: #6d28d9
}
.btn-081:hover svg {
  width: 16px;
  opacity: 1;
  margin-left: 8px
}
.btn-081:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 3px
}
.btn-081:active {
  background: #5b21b6
}
HTML
<button class="btn-081">Continue<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M9 6l6 6-6 6"/></svg></button>
Prompt

A violet #7c3aed pill with white 14px semibold text, 12px by 24px padding. A 16px chevron-right SVG is hidden (0 width, 0 opacity); on hover it expands to 16px with an 8px left margin and fades in (200ms), making the button grow slightly wider. Hover #6d28d9, active #5b21b6. Focus outline 2px violet.