Chip close outline

Chip close outline: a CSS button. Copy the rules, or the prompt that rebuilds it.

chippillclose-xoutlinesmall

React
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)
}
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>
Prompt

An outline chip: white pill with 1px #d1d5db border, #374151 13px medium label, padding 5px 12px left and 5px right, and a 20px grey #f3f4f6 circle holding a 10px inline x icon. On hover the chip border darkens; hovering the x turns it red #ef4444 with a white icon rotated 90 degrees. Active #b91c1c. Focus 2px red outline on the x.