Skip to content

Releases: vercel/ai-elements

[email protected]

12 Mar 07:50
bc87126

Choose a tag to compare

Minor Changes

Patch Changes

  • 58801e5: Add PromptInputActionAddScreenshot component for capturing screenshots via getDisplayMedia
  • 80f91b5: update chatbot example guide to include sonner missing steps
  • 2ebd564: Fix Persona crashing in Vite dev mode by deferring WebGL2 context creation to avoid exhausting browser context limits during React Strict Mode's double-mount cycle.
  • 91d3515: Fix JSXPreview flashing between rendered content and parse errors during streaming. Strip incomplete tags cut off mid-attribute, and fall back to last successfully rendered JSX when parse errors occur during streaming.
  • c3e0b0c: Misc improvements
  • ed31a58: Update ConversationMessage to UIMessage
  • 4c6d2c6: Fix FileTree icons for long file names
  • 899f089: Separate select and toggle actions in FileTreeFolder so clicking the chevron only expands/collapses and clicking the name only selects
  • d1bd5f8: Remove invalid Shimmer fallback from TerminalStatus now that Shimmer requires children text
  • 17b5b39: Update Streamdown
  • 4f643f7: fix: update message response when is animating changes

[email protected]

05 Feb 19:24
7401e82

Choose a tag to compare

Patch Changes

[email protected]

04 Feb 18:40
14e9f44

Choose a tag to compare

Patch Changes

  • f0c9bd5: Migrate to Oxlint
  • cf808a4: Add ability to download conversation as markdown
  • 357c01d: Fix type generic issue in Reasoning
  • 9348f89: Fix autoclosing Reasoning components
  • f54b3ef: PromptInput tooltip & keyboard configuration support
  • a689aec: Fix PromptInput responsiveness
  • c163d7a: feat(examples): wire SpeechInput into chatbot prompt footer
  • d98785d: JSX Preview component

[email protected]

02 Feb 17:06
1078b61

Choose a tag to compare

Patch Changes

  • cf793dd: Add new IDE example
  • cf793dd: Deprecate Loader component for shadcn/ui Spinner
  • ce1606a: Fix Tool padding
  • cf793dd: code-block.tsx: TokensResult fg/bg are optional in Shiki types, but TokenizedCode requires string (strictNullChecks error)
  • d78b009: Fix chain-of-thoughts dropdown arrow alignment by replacing max-w-prose with w-full for proper responsive layout.
  • abeda54: Fix relative registry dependency links

[email protected]

26 Jan 17:37
108ae63

Choose a tag to compare

Patch Changes

  • 4ad4531: Bump ansi-to-react
  • 03ee8e1: fix silenced classname prop in message branch navigation component
  • 005e36a: Add skills

[email protected]

21 Jan 05:03
95d4d98

Choose a tag to compare

Minor Changes

  • 2dd23cf: Attachments
  • cc59f4d: Create Snippet component for lightweight inline code display.
  • fa00d46: Create PackageInfo component for dependency version changes.
  • 97c6e47: Create Commit component for displaying commit info.
  • d444778: Create StackTrace component
  • 1ac4397: Create Agent UI
  • e51d04a: Upgrade CodeBlock
  • ea591fc: Create Terminal component with ANSI color support.
  • 84f15f6: Create FileTree component for hierarchical file display.
  • f7b04e6: Create SchemaDisplay component for API endpoint visualization.
  • 9876e51: Create TestResults component for test suite visualization.
  • 04242be: Added Sandbox component

Patch Changes

  • 3dfde7c: fix(elements): adjust model selector outline
  • f1a7c74: Environment Variables component
  • 8791981: Enhance PromptInput with SourceDocument functionality
  • d1ab925: fix: aliases.components isn't respected in components.json
  • d00f490: allow passing onKeyDown prop to PromptInputTextarea
  • 8a4a6fe: Add VoiceSelectorPreview
  • 6231366: Added missing group class to Tool's Collapsible wrapper to enable chevron rotation animation on open/close
  • 3c7fee4: Fix button transparency in dark mode for scrollToBottom
  • 0679825: Make the Tool component work with DynamicToolUIPart
  • 1bc771d: fix: able to add more than one file when maxFiles is 1 and multiple is false in PromptInput
  • 045453d: Added onStop prop to the PromptInputSubmit component.

[email protected]

16 Jan 22:21
82b1c60

Choose a tag to compare

What's Changed

  • docs: Consolidate '@/components/ai-elements/message' imports on 'elements/conversation' by @WillGarman in #249
  • Updated Links routing to 404 by @Emmaccen in #251
  • fix(prompt-input): Reset file input value to allow re-selecting previously removed files by @chaxus in #257
  • fix(prompt-input): Adjust image preview hover state and alignment in input head by @chaxus in #256
  • feat(reasoning): ReasoningTrigger allows custom getThinkingMessage function by @comynli in #255
  • build: expect errors for states added in ai-sdk v6 by @FelixTraxler in #248
  • fix: shiki dark mode by @Debbl in #246
  • 241 multiple issues in prompt inputtsx drag and drop memoization cleanup error handling by @haydenbleasel in #260
  • Update repo for React Flight RCE advisory by @vercel[bot] in #277
  • Update dependencies for React Flight RCE advisory by @vercel[bot] in #276
  • Prevent duplicate attachments when dropping in form and globalDrop is enabled by @obadakhalili in #280
  • Handle non image file types in matchesAccept filter by @obadakhalili in #279
  • Wrap items CoT search results component by @obadakhalili in #278
  • MessageContent max width should respect parent's by @obadakhalili in #274
  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #273
  • Bump react-player from 3.3.3 to 3.4.0 by @dependabot[bot] in #271
  • Bump streamdown from 1.4.0 to 1.6.9 by @dependabot[bot] in #269
  • Bump @vitest/coverage-v8 from 4.0.7 to 4.0.14 by @dependabot[bot] in #268
  • Bump react-day-picker from 9.11.1 to 9.11.3 by @dependabot[bot] in #266
  • Bump react-hook-form from 7.66.0 to 7.67.0 by @dependabot[bot] in #265
  • Bump @vitejs/plugin-react from 5.1.0 to 5.1.1 by @dependabot[bot] in #264
  • Bump playwright from 1.56.1 to 1.57.0 by @dependabot[bot] in #267
  • Bump ai from 5.0.89 to 5.0.104 by @dependabot[bot] in #263
  • Add scroll behavior to code block by @FranciscoMoretti in #283
  • Fix React Server Components CVE vulnerabilities by @vercel[bot] in #287
  • Fix React Server Components CVE vulnerabilities by @vercel[bot] in #288
  • docs: correct license information in CONTRIBUTING.md by @tobiasbueschel in #292
  • fix(mcp): use zod/v3 for compatibility with mcp-handler by @1MoreBuild in #290
  • Voice by @haydenbleasel in #317

New Contributors

Full Changelog: https://github.com/vercel/ai-elements/compare/[email protected]@1.7.0

[email protected]

17 Nov 03:34
136f8e3

Choose a tag to compare

Patch Changes

  • b0d5347: Fix model selector logos in dark mode
  • ae31076: Fix duplicate overflows in Conversation element

[email protected]

14 Nov 15:37
9233753

Choose a tag to compare

Patch Changes

  • a1b1929: Fix: Update PromptInputSpeechButton SpeechRecognition usage

[email protected]

13 Nov 01:02
36e70ef

Choose a tag to compare

Patch Changes

  • f887f5c: Update PromptInputMessage to use AI SDK types
  • 6fa1d46: fix(reasoning): make "Thought for a few seconds" message reachable
  • d3d91ba: Remove unused hast type
  • e6c656c: fix(model-selector): add DialogTitle for ModelSelectorContent
  • 342bb23: fix prompt-input onSubmit types
  • 70bf5fd: chore: fix checkpoint overflow