# TypingContext

`TypingContext` is provided by `Channel` and exposed via `useTypingContext`. It stores users currently typing in the active channel, keyed by user ID.

## Best Practices

- Use typing indicators sparingly to avoid noisy UIs in busy channels.
- Show only a limited number of typers to keep UI compact.
- Prefer context data over custom presence tracking.
- Combine typing state with accessibility-friendly announcements.
- Avoid polling; rely on real-time typing events from the SDK.

## Basic Usage

Pull the value from `TypingContext` with our custom hook:

```tsx
const { typing } = useTypingContext();
```

## Values

| Value    | Description                                              | Type     |
| -------- | -------------------------------------------------------- | -------- |
| `typing` | Users currently typing in the channel, keyed by user ID. | `object` |


---

This page was last updated at 2026-04-13T07:26:58.300Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react/v14/components/message-composer/typing-context/](https://getstream.io/chat/docs/sdk/react/v14/components/message-composer/typing-context/).