# vercel/ai-elements

AI Elements is a component library and custom registry built on top of shadcn/ui to help you build AI-native applications faster.

Repository: https://github.com/vercel/ai-elements
Canonical: https://ross.abutalabs.com/products/ai-elements
Homepage: https://elements.ai-sdk.dev
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: ai, elements, shadcn-ui, vercel
Last push: 2026-08-21T14:44:37+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 74, longevity 27
- inputs: {"age_days": 383, "days_push": 12, "days_rel": 174, "gap_med": 1, "n_releases_24m": 20}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2365, forks 272 (observed 2026-08-28T04:06:41.036794+00:00)

## What it is
AI Elements is a React component library and custom shadcn/ui registry from Vercel providing pre-built, composable UI components for AI-native applications, such as conversations, messages, reasoning displays, and voice components. Components are installed directly into your codebase via a CLI or the shadcn CLI and integrate deeply with the Vercel AI SDK, including streaming and status states.

## Use cases
- build a chat interface for an LLM app in React
- add AI chat components to a Next.js project
- render streaming markdown responses in a chat UI
- build a voice agent UI with transcription and audio player
- create an AI workflow canvas or agent IDE interface
- customize shadcn-style components for AI apps

## When to choose
- you use Next.js with the Vercel AI SDK and shadcn/ui
- you want full source-code ownership and customization of AI UI components
- you need streaming-aware chat, reasoning, tool-call, or voice UIs
- you want accessible, themeable components following shadcn conventions

## When to avoid
- your project is not React 19 / Next.js / Tailwind CSS 4 based
- you need a framework-agnostic or Vue/Svelte/Angular solution
- you want a prebuilt hosted chat widget rather than in-codebase components
- you don't use the AI SDK and don't want its conventions

## Facets
- artifact type: library
- maturity: active
- function: ui-components, chat-interface, cli, frontend-framework, markdown, speech-recognition, audio-processing
- domain: artificial-intelligence, large-language-models, chatbots, frontend, web-development, developer-tools
- platform: cli, cross-platform
- tags: shadcn-ui, ai-sdk, react, tailwind-css, nextjs, component-registry, chat-ui, streaming-ui, vercel, copy-paste-components, nodejs, web-server

## Member repositories
- vercel/ai-elements (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.036794+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:00.730272+00:00, confidence not recorded.
  - readme: https://github.com/vercel/ai-elements (fetched 2026-08-28T04:06:41.036794+00:00, sha 6e87a7456553)
  - homepage: https://elements.ai-sdk.dev (fetched 2026-08-29T10:16:57.841412+00:00, sha 73144714edc2)
  - site_page: https://elements.ai-sdk.dev/en/docs (fetched 2026-08-29T10:16:57.850709+00:00, sha da9f58cda22f)
  - site_page: https://elements.ai-sdk.dev/docs (fetched 2026-08-29T10:16:57.852523+00:00, sha b6d6cefdd651)
  - site_page: https://elements.ai-sdk.dev/docs/benefits (fetched 2026-08-29T10:16:57.854454+00:00, sha 7bf8b09c7766)
  - site_page: https://elements.ai-sdk.dev/docs/community (fetched 2026-08-29T10:16:57.856205+00:00, sha 958ca42df270)
  - site_page: https://elements.ai-sdk.dev/docs/vercel-ai-frontend (fetched 2026-08-29T10:16:57.857790+00:00, sha 0aaa993032b9)
  - site_page: https://elements.ai-sdk.dev/docs/setup (fetched 2026-08-29T10:16:57.859476+00:00, sha ce28a3e6b208)
  - site_page: https://elements.ai-sdk.dev/docs/usage (fetched 2026-08-29T10:16:57.860986+00:00, sha 2dcf49549e6b)
  - site_page: https://elements.ai-sdk.dev/docs/skill (fetched 2026-08-29T10:16:57.862567+00:00, sha 14f34042e0e0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
