Component library

AI interface

Reasoning, tool calls, and agent UI patterns.

Share Sheet

The share dialog behind that card, with a live link and preview.

Pro

Share this chat

Anyone with the link can view this conversation. It won't update after you share it.

claude.ai/share/8f2a-91c4

What people will see

Shared from Claude

Debugging a flaky CI pipeline

Chat Input Bar

An AI composer with an ambient glow, mic recording, and a model picker.

Pro
Ask anything…

Chain of Thought

A live reasoning trace that collapses into a duration pill.

Pro

Parsing the request

Identified intent: compare pricing tiers

Searching knowledge base

Weighing trade-offs

Drafting the response

Thinking: step 1 of 4, Parsing the request

Reasoning

Raw reasoning streaming into a fade-masked, auto-scrolling panel.

Pro
Reasoning in progress

Confirmation

A tool-call approval card where destructive actions need a press and hold.

Pro

Delete 128 cached files

Irreversible

This clears the build cache. It can't be undone.

rm -rf /tmp/cache/*

Press and hold to confirm

Confidence Slider

A confidence meter that changes how much control you get.

Pro

AI summary

Use caution
ReviewTrust

Revenue grew 12% year over year. Churn decreased across EMEA accounts. Support ticket volume dropped 30%.

Drag the slider. Below 40% every claim needs its own check, above 75% one tap is enough.

Decision Timeline

A recommendation built from four weighted factors you can mute.

Pro

Recommended plan

StarterPro

32 pts, needs 20+ for Pro

Team size: 24 people

Plans over 20 seats typically need Pro's roles and permissions.

+18

Uses 3+ integrations

Starter caps integrations at two.

+12

On Starter for 8 months

Usage has grown steadily since signup.

+9

Support tickets: low volume

Rarely needs priority support, a Pro-only perk.

-7

Mute a factor to see how the recommendation would actually change.

Interruptible Automation

A bulk run that pauses at flagged files so you can redirect them.

Pro

It runs itself, but pauses on the two files it is unsure about, and lets you change where they go before it commits.

Sources

Numbered citations and source cards that highlight each other.

Pro

Quarterly revenue grew 34% year-over-year, largely driven by enterprise adoption of the new API tier. Support ticket volume, meanwhile, dropped 18% after the docs rewrite.

Suggestion

Quick-reply chips that fly into a composer preview when picked.

Pro

Suggested replies

Tool

A tool-call card showing the full round trip with a latency rail.

Pro

Input2

cityTokyounitcelsius
Tool call queued

Artifact

A generated-file panel with version history and a fullscreen morph.

Pro

fibonacci.py

v3 · iterative

Versions

Code Block

A tabbed multi-file snippet with a self-contained highlighter.

Pro
1import { NextResponse } from "next/server";
2
3export async function GET(request: Request) {
4 const { searchParams } = new URL(request.url);
5 const id = searchParams.get("id");
6
7 if (!id) {
8 return NextResponse.json({ error: "Missing id" }, { status: });
9 }
10
11 return NextResponse.json({ id, status: "ok" });
12}

Commit

A streamed commit message with a derived hash and per-file diff.

Pro
AssistantmainJust now

|

File Tree

A changed-files tree that cascades in, status by icon and label.

Pro

agent-workspace/

File Highlighter

Regex-found file paths in prose become expandable code chips.

Pro
Assistant4 files referenced

Found it: the refresh in was firing twice under fast reconnects, which invalidated the new token before had stored it. I deduped in-flight refreshes, added a regression test in , and updated with the retry behavior.

Sandbox

A container boot sequence with a preview URL and live gauges.

Pro
SandboxBooting

Provisioning container

Installing dependencies

Starting dev server

Test Results

A suite running in sequence with a segmented pass and fail bar.

Pro

LoginForm.test.tsx

0.0s

0 passed

Terminal

Commands typed in character by character with streaming output.

Pro
Terminal

Audio Player

A voice-reply player with a drag-to-seek waveform and real audio.

Pro
Voice reply
0:002:08

Audio: “Sport Energy” by u_98o9hlkn7r, thank you!

Audio Scrubber

The same player with a Spotify-style progress rail instead.

Pro
Voice reply
0:002:08

Audio: “Sport Energy” by u_98o9hlkn7r, thank you!

Persona

An agent identity card with a gradient orb instead of a face.

Pro

Compass

Active

Concise & direct

Short, to-the-point answers with minimal preamble, good for quick decisions.

Fast repliesBullet pointsNo fluff
Switch persona

Transcription

Live speech to text with a real interim and final distinction.

Pro
Listening0.0s

Voice Selector

A TTS voice picker where auditioning and selecting are separate.

Pro

Voice

Ember

Attachments

A file tray with a real picker, upload rings, and a retry flow.

Pro

Attachments · 3

  • onboarding-flow.fig

    0% · 2.3 MB

  • release-notes.pdf

    0% · 180 KB

  • hero-shot.png

    0% · 5.5 MB

Settings Panel

A two-pane settings dialog with live search and a retinting accent.

Pro

Try the Accent color picker on the General tab: it retints every control in the dialog live. The sidebar search filters in real time too.

App Widget

The app-branded result card a connected tool returns inline in chat.

Pro
Sign in required to use Spotify
Spotify

Sign in to Spotify

Connect your account to see results here.

Opens Spotify’s real sign-in in a new tab.

Sign in required to use Figma
Figma

Sign in to Figma

Connect your account to see results here.

Opens Figma’s real sign-in in a new tab.