All components

Trigger Menu

Caret-anchored top-layer suggestion menu opened by typing triggers such as @ for mentions or / for commands.

Ask ​Elena Park mention​ — type @ or /

Sizes

Ask ​Elena Park mention​ — type @ or /
sm
Ask ​Elena Park mention​ — type @ or /
md

With standalone textarea

Render TriggerMenu.Input outside TokenInput to attach caret-anchored @ mention and / command menus to a plain textarea.

Install

Source

components/ui/ui-sdk/trigger-menu.tsx

Examples

Installable blocks built with Trigger Menu — real use cases, delivered as source you own.

AI Chat Landing

Zero-state AI entry surface centered on a single composer with a collapsible attachment drawer, @ mention and / command typeahead, mode menus, and category-driven suggestion cards.