Chip with count and close
Chip with count and close: a CSS button. Copy the rules, or the prompt that rebuilds it.
Bugs12
CSS
.btn-164 {
display: inline-flex;
align-items: center;
gap: 6px;
font: 600 12px/1 system-ui,sans-serif;
color: #7c2d12;
background: #ffedd5;
border-radius: 8px;
padding: 5px 5px 5px 10px
}
.btn-164 b {
font-weight: 700;
color: #fff;
background: #ea580c;
border-radius: 6px;
padding: 3px 6px
}
.btn-164 button {
width: 18px;
height: 18px;
display: grid;
place-items: center;
font: 700 14px/1 system-ui,sans-serif;
color: #9a3412;
background: transparent;
border: 0;
border-radius: 4px;
cursor: pointer;
transition: background .15s
}
.btn-164 button:hover {
background: #fdba74
}
.btn-164 button:focus-visible {
outline: 2px solid #ea580c;
outline-offset: 1px
}
.btn-164 button:active {
background: #fb923c;
color: #fff
}
HTML
<span class="btn-164">Bugs<b>12</b><button aria-label="Clear Bugs filter">×</button></span>Prompt
An orange chip with a count badge: #ffedd5 background, 8px radius, 12px semibold brown #7c2d12 label, a solid #ea580c pill showing "12" in white, and an 18px square close button with an x. The close hover fills #fdba74, active #fb923c with white x. Focus 2px orange outline on the close.