Загрузка видео...

Не удалось загрузить видео

На главную

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

180,686 просмотров • 1 год назад •via X (Twitter)

Комментарии: 50

Фото профиля Hayden
Hayden1 год назад

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... 👇

Фото профиля Hayden
Hayden1 год назад

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

Фото профиля Hayden
Hayden1 год назад

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.

Фото профиля Hayden
Hayden1 год назад

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.

Фото профиля Hayden
Hayden1 год назад

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

Фото профиля Hayden
Hayden1 год назад

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!

Фото профиля Hayden
Hayden1 год назад

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 😅

Фото профиля Hayden
Hayden1 год назад

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!

Фото профиля Hayden
Hayden1 год назад

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

Фото профиля Ivan Vasilov
Ivan Vasilov1 год назад

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

Фото профиля Hayden
Hayden1 год назад

@vercel @shadcn

Фото профиля Ivan Vasilov
Ivan Vasilov1 год назад

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

Фото профиля Nathan Baschez
Nathan Baschez1 год назад

@vercel @shadcn this is awesome

Фото профиля alli
alli1 год назад

@vercel @shadcn DOPE

Фото профиля Rohan Dave
Rohan Dave1 год назад

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

Фото профиля v0 intern
v0 intern1 год назад

@vercel @shadcn ok kinda based

Фото профиля Gil
Gil1 год назад

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

Фото профиля Nico Albanese
Nico Albanese1 год назад

@vercel @shadcn Banger

Фото профиля Elliot Hesp
Elliot Hesp1 год назад

@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?

Фото профиля Hayden
Hayden1 год назад

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

Фото профиля Elliot Hesp
Elliot Hesp1 год назад

@vercel @shadcn Nice! Do you have a utility to help build that? Maintaining the json against the codebase isnt amazing DX at the moment

Фото профиля Hayden
Hayden1 год назад

@vercel @shadcn Working on it this weekend! Will share next week

Фото профиля Elliot Hesp
Elliot Hesp1 год назад

@vercel @shadcn Hey, did you manage to work/publish this anywhere?

Фото профиля matthew!
matthew!1 год назад

@vercel @shadcn holy shit

Фото профиля Colin | clerk.com
Colin | clerk.com1 год назад

@vercel @shadcn Congrats on the 🚢!

Фото профиля Maxi
Maxi1 год назад

@vercel @shadcn Looking great 🔥 what's wrong with Why build two of the same? Genuinely asking

Фото профиля Rhys
Rhys1 год назад

@vercel @shadcn Love it

Фото профиля Sunday
Sunday1 год назад

@vercel @shadcn 🔥

Фото профиля Shri
Shri1 год назад

@vercel @shadcn dope 🤌🏽

Фото профиля Rich Haines
Rich Haines1 год назад

@vercel @shadcn Love it!

Фото профиля Lovly
Lovly1 год назад

@vercel @shadcn @zernonia 👀 port to vue?

Фото профиля Vamsi Batchu
Vamsi Batchu1 год назад

@vercel @shadcn This is awesome !

Фото профиля li li
li li1 год назад

@vercel @shadcn 👍。can’t wait to try this one.

Фото профиля Qasim
Qasim1 год назад

@vercel @shadcn this is so fire

Фото профиля Juan
Juan1 год назад

@vercel @shadcn Congrats. Very nice components, I’ll use it for sure

Фото профиля rich binion
rich binion1 год назад

@vercel @shadcn Congrats on the launch boss. Clean gradient animation here, couldn't help but notice the "flicker" when the cursor leaves the element. Just thought it stood out compared to the animation of the AI SDK logo. Props to you and the team styll 🫡

Фото профиля Amit Mirgal 🇮🇳
Amit Mirgal 🇮🇳1 год назад

@vercel @shadcn one of the best dx @shadcn ui has given to devs... it just simplifies everything... 🔥

Фото профиля James
James1 год назад

@vercel @shadcn I noticed the Chat SDK repo (ai-chatbot) has not been updated in a month or so. Do you think we should expect Chat SDK to be updated to use AI Elements and have some new features like MCP server management? Or is Chat SDK replaced by AI Elements?

Фото профиля Hayden
Hayden1 год назад

@vercel @shadcn Yessir, eventually we expect Chat SDK components to merge with AI Elements so they're like iterative building blocks for AI-native web applications. I'll let you know once we start working on it 😅

Фото профиля Ghost
Ghost1 год назад

@vercel @shadcn This looks very promising

Фото профиля Hanzlah 🇵🇸
Hanzlah 🇵🇸1 год назад

@vercel @shadcn goated

Фото профиля Ashwin V C
Ashwin V C1 год назад

@vercel @shadcn So cool. This is wonderful.

Фото профиля AjanRaj
AjanRaj1 год назад

@vercel @shadcn looks super cool, gonna give it a try

Фото профиля Greg Charles
Greg Charles1 год назад

@vercel @shadcn Can’t wait to instrument

Фото профиля AI James
AI James1 год назад

@vercel @shadcn You guys cooked! 👨🏻‍🍳

Фото профиля sock
sock1 год назад

@vercel @shadcn @developedbyed

Фото профиля Jason Curry
Jason Curry1 год назад

@vercel @shadcn Ahhh, very nice!!!

Фото профиля Sriket Komali
Sriket Komali1 год назад

@vercel @shadcn this is actually huge. @BraceSproul demo coming soon for langgraph integration?

Фото профиля Gokul
Gokul1 год назад

@vercel @shadcn Those are some really components. My fav component is the loader 😉

Фото профиля Sriket Komali
Sriket Komali1 год назад

@vercel @shadcn this is so good. you have to export the useCarousel hook from the shadcn primitive for the inlinechat element, but everything else is beautiful.

Похожие видео