> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# useListButton

> **useListButton**(`props`): [`ListButton`](/api/toolbar/type-aliases/listbutton/)

Defined in: toolbar/src/use-list-button.ts:173

Manages the state, keyboard shortcuts and available events for a list button.

:::caution[Beta]
This API should not be used in production and may be trimmed from a public release.
:::

## Parameters

### props

#### schemaType

[`ToolbarListSchemaType`](/api/toolbar/type-aliases/toolbarlistschematype/)

## Returns

[`ListButton`](/api/toolbar/type-aliases/listbutton/)