---
title: "RichTextStyleable"
summary: "@slack/web-api / RichTextStyleable"
url: "https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/RichTextStyleable"
type: "guide"
---

Source: https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/RichTextStyleable

[@slack/web-api](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api.md) / RichTextStyleable

# Interface: RichTextStyleable

Defined in: packages/types/dist/block-kit/extensions.d.ts:71

## Description {#description}

For use styling Rich Text sub-elements.

## Extended by {#extended-by}

*   [`RichTextBroadcastMention`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextbroadcastmention.md)
*   [`RichTextColor`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextcolor.md)
*   [`RichTextChannelMention`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextchannelmention.md)
*   [`RichTextDate`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextdate.md)
*   [`RichTextEmoji`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextemoji.md)
*   [`RichTextLink`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextlink.md)
*   [`RichTextTeamMention`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextteammention.md)
*   [`RichTextText`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtexttext.md)
*   [`RichTextUserMention`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextusermention.md)
*   [`RichTextUsergroupMention`](https://docs.slack.dev/tools/node-slack-sdk/reference/web-api/interfaces/richtextusergroupmention.md)

## Properties {#properties}

### style? {#style}

```ts
style?: object;
```

Defined in: packages/types/dist/block-kit/extensions.d.ts:75

#### bold? {#bold}

```ts
bold?: boolean;
```

##### Description {#description-1}

When `true`, boldens the text in this element. Defaults to `false`.

#### code? {#code}

```ts
code?: boolean;
```

##### Description {#description-2}

When `true`, the text is preformatted in an inline code style. Defaults to \`false.

#### italic? {#italic}

```ts
italic?: boolean;
```

##### Description {#description-3}

When `true`, italicizes the text in this element. Defaults to `false`.

#### strike? {#strike}

```ts
strike?: boolean;
```

##### Description {#description-4}

When `true`, strikes through the text in this element. Defaults to `false`.

#### underline? {#underline}

```ts
underline?: boolean;
```

##### Description {#description-5}

When `true`, underlines the text in this element. Defaults to `false`.

#### Description {#description-6}

A limited style object for styling rich text `text` elements.
