# Compartilhar com contador (B 190)

Categoria: Botões  
Tags: share, pill, count, icon, split  
Página: https://designforai.dev/pt/snippet/btn-190

## Prompt

Uma pílula azul #0369a1 de compartilhar, 40px de altura, com um ícone inline de 15px de nós de compartilhamento e "Share" em branco 14px semibold, seguido de um contador em pílula interna branca mostrando "1.2k" em 12px azul, a 4px da borda direita. Hover #0284c7 com o contador em tom #e0f2fe; active #075985. Focus com outline azul de 2px.

## HTML

```html
<button class="btn-190"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8a3 3 0 1 0-2.8-4M6 15a3 3 0 1 0 0 .1M18 21a3 3 0 1 0-2.8-4M8.6 13.5l6.8 3.9M15.4 6.6l-6.8 3.9"/></svg>Share<b>1.2k</b></button>
```

## CSS

```css
.btn-190 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 14px/1 system-ui,sans-serif;
  color: #fff;
  background: #0369a1;
  border: 0;
  border-radius: 999px;
  padding: 0 4px 0 16px;
  height: 40px;
  cursor: pointer;
  transition: background .15s
}
.btn-190 b {
  font: 600 12px/1 system-ui,sans-serif;
  color: #0369a1;
  background: #fff;
  border-radius: 999px;
  padding: 0 10px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  transition: background .15s
}
.btn-190:hover {
  background: #0284c7
}
.btn-190:hover b {
  background: #e0f2fe
}
.btn-190:focus-visible {
  outline: 2px solid #0369a1;
  outline-offset: 3px
}
.btn-190:active {
  background: #075985
}
```
