Skip to content

ToolMenu

Stable

The plus menu by the message box, with ways to attach things, tools you can switch on, and connected apps.

Also known as tools menu, plugins menu, tool picker

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

Menu with tags

Web search

Switching a tool on or off updates its check and adds or removes its tag next to the button.

When to use it

The plus button by the message box that gathers everything you can add to a message: files, tools and connected apps. Tools keep the menu open when switched, so several can be turned on in one go.

Made of: Plus button · Attach section · Tools section · Check mark · Connected apps section · App status

Use it for

  • Attaching a file or a photo to a message.
  • Turning tools such as web search or deep research on and off.
  • Picking a connected app as a source.

Not for

  • Choosing how the assistant answers: use ModelPicker.
  • Settings that belong on a settings page.
  • Moving around the site.

Do and avoid

Files, tools and apps
Do. One plus button holds files, tools and apps in one place.

Tools

Web search

Deep research

Avoid. Tools with no check mark look like buttons that run right away.

Do

  • Keep the menu open when a tool is toggled so several can be switched on.
  • Use short status words for connected apps, such as Connected.
  • Show every tool that is on as a ToolChip by the message box, so people can see and remove it without opening the menu.

Avoid

  • Do not put settings that belong in a settings page into the menu.
  • Do not use it as a site menu.
  • Do not leave out the check mark. A tool without one looks like a button that does something.

On a phone

  • On a phone the menu opens as a bottom sheet, because it is a menu; the sheet scrolls if the list is long.
  • Every row is at least 44px tall on touch screens.
  • Labels and descriptions are cut off with an ellipsis, so keep them short.
  • Choosing an attach or connector row closes the sheet, while turning a tool on or off keeps it open.

Seen in products

  • Claude: the plus menu holds web search, switched on with a checkmark, while memory and connector toggles sit in Settings.
  • Perplexity: the input bar plus menu holds Deep Research and Create files and apps.
  • Mistral Le Chat: Libraries are indexed document collections that can be selected as a source.
  • Shape of AI lists Attachments, Connectors and Filters among its Tuners.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started