Chevron que aparece
Chevron que aparece: botón en CSS. Copia las reglas, o el prompt que reproduce el resultado.
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
Una píldora violeta #7c3aed con texto blanco de 14px semibold, padding de 12px por 24px. Un SVG chevron-right de 16px está oculto (ancho 0, opacidad 0); al pasar el cursor se expande a 16px con 8px de margen izquierdo y aparece en fundido (200ms), haciendo el botón un poco más ancho. Hover #6d28d9, active #5b21b6. Outline de foco de 2px violeta.