# Barra de progresso (B 084)

Categoria: Botões  
Tags: loading, progress, animated-fill, outline  
Página: https://designforai.dev/pt/snippet/btn-084

## Prompt

Um botão de carregamento verde claro (preenchimento #ecfdf5, borda de 1px #6ee7b7, texto verde escuro #065f46 em 14px semibold, raio de 8px, padding de 12px por 24px, desabilitado) onde uma barra menta #a7f3d0 cresce da aresta esquerda até a largura total em 2.4s, some em fade e repete, atrás do texto "Uploading".

## HTML

```html
<button class="btn-084" disabled><span>Uploading</span></button>
```

## CSS

```css
.btn-084 {
  position: relative;
  overflow: hidden;
  font: 600 14px/1 system-ui,sans-serif;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: progress
}
.btn-084::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: #a7f3d0;
  animation: btn-084-p 2.4s ease-in-out infinite
}
@keyframes btn-084-p {
  0% {
    width: 0
  }
  70% {
    width: 100%
  }
  100% {
    width: 100%;
    opacity: 0
  }
}
.btn-084 span {
  position: relative
}
.btn-084:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 3px
}
@media (prefers-reduced-motion: reduce) {
  .btn-084, .btn-084 * { animation: none; transition: none; }
}
```
