# InlineText (@salmonui/rich-text)

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

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

```ts
import type { InlineText } 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 InlineText {
    type: 'text';
    text: string;
    marks?: InlineMark[];
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'text';` |  |  |
| `text` | `text: string;` |  |  |
| `marks` | `marks?: InlineMark[];` | optional |  |
