# TagRemoveEvent (@salmonui/buttons/tag-group)

> The TagRemoveEvent interface of @salmonui/buttons/tag-group: onRemove event: the remove button, or Delete / Backspace on the focused tag.

Canonical: https://salmonui.dev/docs/reference/buttons/tag-group/TagRemoveEvent

```ts
import type { TagRemoveEvent } from '@salmonui/buttons/tag-group';
```

Entry index: https://salmonui.dev/docs/reference/buttons/tag-group (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/buttons/tag-group.md).

## Reference

Kind: interface

```ts
interface TagRemoveEvent {
    readonly source: TagEventSource;
    readonly reason: 'button' | 'delete' | 'backspace';
}
```

`onRemove` event: the remove button, or Delete / Backspace on the focused tag.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: TagEventSource;` |  |  |
| `reason` | `readonly reason: 'button' \| 'delete' \| 'backspace';` |  |  |
