---
agent:
  instructions: "Search goop.so for Goop's components, templates, design skill, docs, pricing and terms. Ask in keywords or a plain question, such as \"date picker props\" or \"is the design skill free\"; the answer is the matching page sections in Markdown, each with its address."
  endpoint: "https://goop.so/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Your own controls in a composer's toolbar

A mention, a format button, a menu

Put them in `ComposerToolbarStart`, first in `ComposerToolbar`, before `ComposerActions`; never a row of your own above or beside the composer. They take the toolbar's start edge and gap, the send stays at the end, Tab reaches them after the editor and before the send, and a narrow frame scrolls them inside the slot instead of wrapping the row.

```tsx
<ComposerToolbar>
  <ComposerToolbarStart>
    <IconButton variant="ghost" shape="pill" size="sm" aria-label="Mention someone" onClick={mention}>
      <IconButtonIcon icon="at" />
    </IconButton>
  </ComposerToolbarStart>
  <ComposerActions>
    <ComposerAttach aria-label="Attach files" onFilesChange={attach} />
    <ComposerSubmit aria-label="Send" />
  </ComposerActions>
</ComposerToolbar>
```
