# Chip Schließen Outline (B 162)

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

## Prompt

Ein Outline-Chip: weiße Pille mit 1px #d1d5db Rahmen, #374151 13px medium Label, Padding 5px 12px links und 5px rechts, und ein 20px grauer #f3f4f6 Kreis mit einem 10px Inline-x-Icon. Beim Hover wird der Chip-Rahmen dunkler; Hover auf dem x färbt es rot #ef4444 mit weißem, um 90 Grad gedrehtem Icon. Active #b91c1c. Focus: 2px rote Outline auf dem x.

## HTML

```html
<span class="btn-162">React<button aria-label="Remove React"><svg width="10" height="10" viewBox="0 0 10 10" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><path d="M1 1l8 8M9 1l-8 8"/></svg></button></span>
```

## CSS

```css
.btn-162 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 system-ui,sans-serif;
  color: #374151;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 5px 5px 5px 12px;
  transition: border-color .15s
}
.btn-162:hover {
  border-color: #9ca3af
}
.btn-162 button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #6b7280;
  background: #f3f4f6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s,color .15s,transform .15s
}
.btn-162 button:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg)
}
.btn-162 button:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 1px
}
.btn-162 button:active {
  background: #b91c1c;
  transform: rotate(90deg) scale(.9)
}
```
