# ListboxItemState (@salmonui/dropdowns/listbox)

> The ListboxItemState interface of @salmonui/dropdowns/listbox: renderItem argument.

Canonical: https://salmonui.dev/docs/reference/dropdowns/listbox/ListboxItemState

```ts
import type { ListboxItemState } from '@salmonui/dropdowns/listbox';
```

Entry index: https://salmonui.dev/docs/reference/dropdowns/listbox (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/dropdowns/listbox.md).

## Reference

Kind: interface

```ts
interface ListboxItemState<T> {
    readonly item: T;
    readonly value: ListboxKey;
    readonly label: string;
    readonly selected: boolean;
    readonly active: boolean;
    readonly disabled: boolean;
    readonly matches: readonly ListboxMatchRange[];
}
```

`renderItem` argument.

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `item` | `readonly item: T;` |  |  |
| `value` | `readonly value: ListboxKey;` |  |  |
| `label` | `readonly label: string;` |  |  |
| `selected` | `readonly selected: boolean;` |  |  |
| `active` | `readonly active: boolean;` |  |  |
| `disabled` | `readonly disabled: boolean;` |  |  |
| `matches` | `readonly matches: readonly ListboxMatchRange[];` |  | Highlight ranges of the search text in `label` (with `highlightMatches`). |
