# Chip close soft (B 161)

Category: Buttons  
Tags: chip, pill, close-x, small, tinted  
Page: https://designforai.dev/snippet/btn-161

## Prompt

A removable filter chip: pale blue #dbeafe pill with #1e40af 13px medium label, padding 6px 12px on the left and 6px on the right, followed by an 18px round close button showing a multiplication sign. The close button is transparent until hover, then fills #1e40af with a white x; active #1e3a8a. Focus 2px blue outline on the x only.

## HTML

```html
<span class="btn-161">Design<button aria-label="Remove Design">&times;</button></span>
```

## CSS

```css
.btn-161 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px/1 system-ui,sans-serif;
  color: #1e40af;
  background: #dbeafe;
  border-radius: 999px;
  padding: 6px 6px 6px 12px
}
.btn-161 button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font: 700 14px/1 system-ui,sans-serif;
  color: #1e40af;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s,color .15s
}
.btn-161 button:hover {
  background: #1e40af;
  color: #fff
}
.btn-161 button:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 1px
}
.btn-161 button:active {
  background: #1e3a8a
}
```
