megachangelog
Feature

AI Code Elements component library released

Vercel released a new set of composable UI components for building IDEs, coding apps, and AI agents. The library includes components for code display, file trees, terminal output, test results, environment variables, and more—all designed to help developers integrate AI capabilities into their applications.

Today we're releasing a brand new set of components designed to help you build the next generation of IDEs, coding apps and background agents.

A composable component for displaying an AI SDK configuration with model, instructions, tools, and output schema.ToolLoopAgent

Building on what we've learned from , we massively improved the code block component with support for a header, icon, filename, multiple languages and a more performant renderer.Streamdown

The Commit component displays commit details including hash, message, author, timestamp, and changed files.

The EnvironmentVariables component displays environment variables with value masking, visibility toggle, and copy functionality.

The FileTree component displays a hierarchical file system structure with expandable folders and file selection.

The PackageInfo component displays package dependency information including version changes and change type badges.

The Sandbox component provides a structured way to display AI-generated code alongside its execution output in chat conversations. It features a collapsible container with status indicators and tabbed navigation between code and output views.

The SchemaDisplay component visualizes REST API endpoints with HTTP methods, paths, parameters, and request/response schemas.

The Snippet component provides a lightweight way to display terminal commands and short code snippets with copy functionality. Built on top of shadcn/ui InputGroup, it's designed for brief code references in text.

The StackTrace component displays formatted JavaScript/Node.js error stack traces with clickable file paths, internal frame dimming, and collapsible content.

The Terminal component displays console output with ANSI color support, streaming indicators, and auto-scroll functionality.

The TestResults component displays test suite results (like Vitest) including summary statistics, progress, individual tests, and error details.

Not code related, but since attachment were being used in Message, PromptInput and more, we broke it out into its own component - a flexible, composable attachment component for displaying files, images, videos, audio, and source documents.

Read more

<Agent />

<CodeBlock />

<Commit />

<EnvironmentVariables />

<FileTree />

<PackageInfo />

<Sandbox />

<SchemaDisplay />

<Snippet />

<StackTrace />

<Terminal />

<TestResults />

Bonus: <Attachments />

componentsuiaiidecode-display

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →