# HtmlText (@salmonui/rich-text)

> The HtmlText interface of @salmonui/rich-text: A text node; value is decoded text (never markup).

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

```ts
import type { HtmlText } 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 HtmlText {
    type: 'text';
    value: string;
}
```

A text node; `value` is decoded text (never markup).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'text';` |  |  |
| `value` | `value: string;` |  |  |
