# HighlightRange (@salmonui/rich-text)

> The HighlightRange interface of @salmonui/rich-text.

Canonical: https://salmonui.dev/docs/reference/rich-text/HighlightRange

```ts
import type { HighlightRange } from '@salmonui/rich-text';
```

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

## Reference

Kind: interface

```ts
interface HighlightRange {
    readonly from: number;
    readonly to: number;
    readonly className: string;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `from` | `readonly from: number;` |  |  |
| `to` | `readonly to: number;` |  |  |
| `className` | `readonly className: string;` |  |  |
