# XWUISocialProofBanner

A rotating live-activity conversion nudge: a small floating banner that cycles through `data.events` (e.g. "Amara O. bought this 2 hours ago") every `config.rotateIntervalMs` (default 4000ms), with an optional dismiss button that hides the banner for the rest of the session.

## Events

| Event | Callback | Subscriber | `detail` |
|---|---|---|---|
| `xwui-social-proof-banner:dismiss` | `onDismiss` | `onDismiss(handler)` | — |

## Usage

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

new XWUISocialProofBanner(host, {
  events: [
    { id: 'e1', text: 'Amara O. bought this 2 hours ago', icon: '🛍️' },
    { id: 'e2', text: '12 people viewed this in the last hour', icon: '👀' },
  ],
});
```

```api
```
