Пропустить навигацию
▲ Introducing AI Elements by Vercel
0:00 / 1:01

▲ Introducing AI Elements by Vercel

Hayden

@haydenbleasel18 тыс. подписчиков

Открыть в X
1 316 отметок «Нравится»СкачатьОригинальный пост

180 686 просмотров

▲ Introducing AI Elements by Vercel The shadcn component library for building AI-native apps. $ npx ai-elements

50 комментариев

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Hayden

    @haydenbleasel

    Shoutout to the GOAT @ryanharaki_ for the collab on this. Also if you're familiar with the Kibo AI components, I donated them to Vercel to form the foundation of project! We've made some fantastic improvements though... 👇

    23 отметки «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    1/ New Components As AI interfaces evolve, we're seeing more patterns emerge from concepts like RAG, MCP and Deep Research. To help build for these, we've created these additional components... 🖱️ Actions 🌉 Image 💬 InlineCitation 🌀 Loader ✅ Task 🖥️ WebPreview

    13 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    2/ CodeBlock simplified for typical AI responses Code blocks in Markdown are typically simple. The Kibo UI code block, while very powerful, is too much overhead for this. We've rebuilt the Code Block component so it's a lot simpler.

    9 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    3/ @v0 style icons Components like Reasoning, Source and Task now have icons prefixing their Trigger title, like you'd find on v0. This makes them much nicer to look at when used in a more agentic fashion.

    9 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    4/ Animations All collapsible components (Task, Sources, Reasoning, etc.) have animations when you open and close them! A nice little quality of life improvement.

    10 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    5/ A better Response component The Response component's react-markdown implementation is now wrapped in our markdown-sanitizers package (thank u @cramforce) to help secure your AI agents. It also has intelligent parsing that auto-completes unterminated formatting and hides incomplete links. Additionally, it can render mathematical equations now!

    12 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    6/ Seamless integration with AI SDK Component types have been improved for more seamless integration with AI SDK. You can still bring any provider you'd like though 😅

    8 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    7/ Misc rendering improvements There's been a ton of small tweaks around the place. For example, Tool component parameters are rendered in a CodeBlock!

    13 отметок «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    We hope you enjoy AI Elements! Follow me @haydenbleasel for updates. Also, Like/Repost the quote below if you can:

    15 отметок «Нравится»

  • Фото профиля Ivan Vasilov

    @ivasilov

    @vercel @shadcn Shouldn't this Props subheading be named Components?

    3 отметки «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    @vercel @shadcn

    1 отметка «Нравится»

  • Фото профиля Ivan Vasilov

    @ivasilov

    @vercel @shadcn You've done an awesome job btw! I think we'll be migrating to these elements tomorrow :)

    3 отметки «Нравится»

  • Фото профиля Nathan Baschez

    @nbaschez

    @vercel @shadcn this is awesome

    3 отметки «Нравится»

  • Фото профиля alli

    @sonofalli

    @vercel @shadcn DOPE

    3 отметки «Нравится»

  • Фото профиля Rohan Dave

    @rohandave_

    @vercel @shadcn insane! do you plan to use this in Chat SDK repo instead of the custom UI components?

    2 отметки «Нравится»

  • Фото профиля v0 intern

    @v0intern

    @vercel @shadcn ok kinda based

    2 отметки «Нравится»

  • Фото профиля Gil

    @gilgNYC

    @vercel @shadcn Welcome! Would love to see artifacts.

    2 отметки «Нравится»

  • Фото профиля Nico Albanese

    @nicoalbanese10

    @vercel @shadcn Banger

    2 отметки «Нравится»

  • Фото профиля Elliot Hesp

    @elliothesp

    @vercel @shadcn Very cool! I'm curious, the JSON on looks to be a single item schema, and it's installed with ?components=name... is this a new thing on Shadcn side?

    2 отметки «Нравится»

  • Фото профиля Hayden

    @haydenbleasel

    @vercel @shadcn That's a dynamically generated registry pattern that I'll be sharing more about real soon 😄

    1 отметка «Нравится»