# XWUIGameVendorFilter

Shop filter toolbar. It renders a horizontal row of toggleable filter chips drawn from `conf_comp.filterTypes`, plus an optional sort dropdown (`showSort`). Data props are the `activeFilters` array and the current `sortBy` field. `toggleFilter(type)` flips a single chip, `setFilter(filters)` replaces the active set, and `setSort(field)` changes the sort; register `onFilterChange(cb)` and `onSortChange(cb)` to react to changes. Pair it with a listing component like XWUIGameMarketBoard.

## Basic Usage

Mounts the vendor filter toolbar with its filter chips and sort dropdown.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Mounts the vendor filter toolbar with toggleable filter chips and a sort dropdown.
```

## Chips Only

Removes the sort dropdown with showSort off, leaving a toolbar that is purely the filter-chip row.

```example
file: examples/ChipsOnly.ts
html: examples/ChipsOnly.html
title: Chips Only
description: A filter toolbar with showSort false, rendering only the toggleable category chips.
```

## Auction House

Uses a custom filterTypes set and toggles a chip on after construction with toggleFilter.

```example
file: examples/AuctionHouse.ts
html: examples/AuctionHouse.html
title: Auction House
description: A bespoke category set sorted by rarity, with toggleFilter activating a chip programmatically.
```

```api
```
