Skip to main content
ai-tool-elements is a React component library that gives you pre-built, typed UI cards for every tool or connector an AI agent might call — Slack, Gmail, Stripe, Notion, Exa, and 1,000+ more. Import named exports, render them with ToolCard, and wire in your own backend. No vendor SDK required.

Quickstart

Go from zero to rendered tool cards in under five minutes.

Installation

Install the package and import the bundled CSS styles.

ToolCard Component

Full prop reference for the primary ToolCard component.

Tool Catalog

Browse the 1,000+ built-in connectors and their named exports.

Custom Tools

Define and render your own connectors without any global registry.

TypeScript Types

Explore the Tool, ToolField, and ToolImage type definitions.

Get up and running

1

Install the package

2

Import styles

Add the bundled Tailwind CSS once in your app entry point or layout:
3

Render a tool card

Import any named catalog tool and pass it to ToolCard:
4

Use your own tools

Create a custom connector with the Tool type — no registration needed:

Why ai-tool-elements?

Vendor-neutral

Works with any AI backend — Composio, OpenAI, Anthropic, or your own pipeline.

Fully typed

Every catalog entry and component prop is TypeScript-typed for autocomplete and compile-time safety.

Tree-shakeable

Import only the tools you need. Logos are lazy-loaded as inline SVGs via @thesvg/icons.