Skip to content

Agent Elements

Open-source React components for agent UIs: chat, tool-call cards, plans and clarifying questions.

agent-elements.21st.dev

Agent Elements website screenshot
Added

About

About Agent Elements

Agent Elements, from 21st.dev, is a registry of React components for agent interfaces in the style of Claude Code. It includes a chat shell, tool-call cards for Bash, Edit, Search, Todo and Plan, approvals, clarifying questions, an input bar and live terminal output, plus streaming markdown. The community list says it is built on React 19, Tailwind v4 and the Vercel AI SDK.

The site describes the pieces as drop-in for the AI SDK, MCP and any LLM app, with docs and an Explore page to browse them. The sample chat shows thinking states, error cards with retry buttons and release notes. It suits teams building coding assistants or agent dashboards who want to skip designing the chat layer.

Agent Elements features

6 features

  • Chat shell for agent apps
  • Tool-call cards for Bash, Edit and Search
  • Plans, approvals and clarifying questions
  • Streaming markdown
  • Live terminal output
  • Works with the AI SDK and MCP

What you can build with Agent Elements

3 use cases

  • Building a coding assistant's chat interface
  • Showing an agent's tool calls and plan steps
  • Adding approval prompts to an LLM workflow

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Agent Elements is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro