Components / AI components / Conversation
ConversationExperimental alpha
SlashCommandMenu
Search and invoke host-provided slash commands with the keyboard.
SlashCommandMenu preview
Loading example…
Interactions use local sample data.
Usage and props
Provide command IDs and enforce availability when executing the selection.
Supported inputs
This is the public signature used by this example. Open Code to see how the values and callbacks fit together.
items · query · onQueryChange · onSelect · status?These are the main props for the example. The package's TypeScript declarations include the full API.