# Chip Avatar Schließen (B 165)

Kategorie: Buttons  
Tags: chip, pill, close-x, avatar, small  
Seite: https://designforai.dev/de/snippet/btn-165

## Prompt

Ein Personen-Chip: graue #f3f4f6 Pille mit einem 24px indigofarbenen #6366f1 Kreis, der die Initialen "JD" in 10px weiß bold zeigt, dann der Name in 13px #111827, dann ein 20px runder Schließen-Button mit x. Chip-Hover #e5e7eb; Schließen-Hover füllt #111827 mit weißem x, Active schwarz. Focus: 2px indigofarbene Outline auf dem Schließen-Button.

## HTML

```html
<span class="btn-165"><i aria-hidden="true">JD</i>Jane Doe<button aria-label="Remove Jane Doe">&times;</button></span>
```

## CSS

```css
.btn-165 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 system-ui,sans-serif;
  color: #111827;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px 6px 4px 4px;
  transition: background .15s
}
.btn-165:hover {
  background: #e5e7eb
}
.btn-165 i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font: 700 10px/1 system-ui,sans-serif;
  font-style: normal;
  color: #fff;
  background: #6366f1;
  border-radius: 50%
}
.btn-165 button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font: 700 15px/1 system-ui,sans-serif;
  color: #6b7280;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s,color .15s
}
.btn-165 button:hover {
  background: #111827;
  color: #fff
}
.btn-165 button:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 1px
}
.btn-165 button:active {
  background: #000
}
```
