# CommandInput

[`CommandInput`](https://github.com/GetStream/stream-chat-react-native/blob/develop/package/src/components/MessageInput/components/CommandInput.tsx) renders the command input UI when a command is active.

## Best Practices

- Keep command UI minimal so it doesn’t block normal typing.
- Respect cooldown state to prevent invalid command sends.
- Pass stable `additionalTextInputProps` to avoid re-renders.
- Use commands for known flows (Giphy, slash commands) instead of overloading input.
- Provide clear affordances to exit command mode.

## Props

### `additionalTextInputProps`

<partial id="chat-sdk/react-native/v8-latest/_partials/common-content/ui-components/channel/props/additional_text_input_props"></partial>

### `cooldownEndsAt`

The time at which the active cool-down will end.

| Type |
| ---- |
| Date |


---

This page was last updated at 2026-03-06T17:06:08.343Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/ui-components/command-input/](https://getstream.io/chat/docs/sdk/react-native/ui-components/command-input/).