Base
Pure CSS
Chip
A small label with a remove button for active filters and removable tags — a real shop filter bar.
Real scenarios
The component as it is used in a product — not a specimen grid.
Filters you can see — and unsee
Every active filter is a removable chip; taking one off reshapes the shelf below instantly, in the browser. The x button and the chip itself both work.
In stock
Free shipping
New
On sale
No filters left — the shelf shows everything.
carries tags
The plain label, without an x
A product page: style chips on one row, material chips on the other. No removal — they inform, they do not act.
Style:
Minimal
Studio
Everyday
Material:
Linen
Recycled paper
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| removable | bool | false | Shows the x button; a wire:click from outside reaches it. |
Snippet
<x-nx::chip removable wire:click="removeTag('urgent')">فوری</x-nx::chip>