# XWUIWishlistPanel

A saved-items / wishlist grid: a card per item (thumbnail, out-of-stock badge, name, price), a "Move to cart" action (disabled while out of stock) and a remove button. Moving to cart removes the item locally and fires both `xwui-wishlist-panel:move-to-cart` and, immediately after, its removal effect - a host page should add the item to its own cart store in the `onMoveToCart` handler.

## Events

| Event | Callback | Subscriber | `detail` |
|---|---|---|---|
| `xwui-wishlist-panel:move-to-cart` | `onMoveToCart` | `onMoveToCart(handler)` | `{ itemId }` |
| `xwui-wishlist-panel:remove-item` | `onRemoveItem` | `onRemoveItem(handler)` | `{ itemId }` |

## Usage

```ts
import { XWUIWishlistPanel } from '@exonware/xwui/industry';

const panel = new XWUIWishlistPanel(host, {
  items: [{ id: 'w1', name: 'Leather Backpack', price: 129 }],
});

panel.onMoveToCart((itemId) => cart.add(itemId));
```

```api
```
