---
id: commands-button
title: CommandsButton
---

import Disabled from '../common-content/contexts/channel-context/disabled.mdx';

Component to render a button to open the commands picker, within the [`MessageInput`](./message_input.mdx).
This is the default component provided to the prop [`CommandsButton`](../core-components/channel.mdx#commandsbutton) on the `Channel` component.

## Props

### <div class="label description">_overrides the value from [ChannelContext](../contexts/channel_context.mdx#disabled)_</div> disabled {#disabled}

<Disabled />

### handleOnPress

`onPress` handler for this button.

| Type |
| - |
| function |
