Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

180,686 görüntüleme • 1 yıl önce •via X (Twitter)

50 Yorum

Hayden profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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 profil fotoğrafı
Hayden1 yıl önce

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

Ivan Vasilov profil fotoğrafı
Ivan Vasilov1 yıl önce

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

Hayden profil fotoğrafı
Hayden1 yıl önce

@vercel @shadcn

Ivan Vasilov profil fotoğrafı
Ivan Vasilov1 yıl önce

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

Nathan Baschez profil fotoğrafı
Nathan Baschez1 yıl önce

@vercel @shadcn this is awesome

alli profil fotoğrafı
alli1 yıl önce

@vercel @shadcn DOPE

Rohan Dave profil fotoğrafı
Rohan Dave1 yıl önce

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

v0 intern profil fotoğrafı
v0 intern1 yıl önce

@vercel @shadcn ok kinda based

Gil profil fotoğrafı
Gil1 yıl önce

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

Nico Albanese profil fotoğrafı
Nico Albanese1 yıl önce

@vercel @shadcn Banger

Elliot Hesp profil fotoğrafı
Elliot Hesp1 yıl önce

@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 profil fotoğrafı
Hayden1 yıl önce

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

Elliot Hesp profil fotoğrafı
Elliot Hesp1 yıl önce

@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 profil fotoğrafı
Hayden1 yıl önce

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

Elliot Hesp profil fotoğrafı
Elliot Hesp1 yıl önce

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

matthew! profil fotoğrafı
matthew!1 yıl önce

@vercel @shadcn holy shit

Colin | clerk.com profil fotoğrafı
Colin | clerk.com1 yıl önce

@vercel @shadcn Congrats on the 🚢!

Maxi profil fotoğrafı
Maxi1 yıl önce

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

Rhys profil fotoğrafı
Rhys1 yıl önce

@vercel @shadcn Love it

Sunday profil fotoğrafı
Sunday1 yıl önce

@vercel @shadcn 🔥

Shri profil fotoğrafı
Shri1 yıl önce

@vercel @shadcn dope 🤌🏽

Rich Haines profil fotoğrafı
Rich Haines1 yıl önce

@vercel @shadcn Love it!

Lovly profil fotoğrafı
Lovly1 yıl önce

@vercel @shadcn @zernonia 👀 port to vue?

Vamsi Batchu profil fotoğrafı
Vamsi Batchu1 yıl önce

@vercel @shadcn This is awesome !

li li profil fotoğrafı
li li1 yıl önce

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

Qasim profil fotoğrafı
Qasim1 yıl önce

@vercel @shadcn this is so fire

Juan profil fotoğrafı
Juan1 yıl önce

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

rich binion profil fotoğrafı
rich binion1 yıl önce

@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 🇮🇳 profil fotoğrafı
Amit Mirgal 🇮🇳1 yıl önce

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

James profil fotoğrafı
James1 yıl önce

@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 profil fotoğrafı
Hayden1 yıl önce

@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 profil fotoğrafı
Ghost1 yıl önce

@vercel @shadcn This looks very promising

Hanzlah 🇵🇸 profil fotoğrafı
Hanzlah 🇵🇸1 yıl önce

@vercel @shadcn goated

Ashwin V C profil fotoğrafı
Ashwin V C1 yıl önce

@vercel @shadcn So cool. This is wonderful.

AjanRaj profil fotoğrafı
AjanRaj1 yıl önce

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

Greg Charles profil fotoğrafı
Greg Charles1 yıl önce

@vercel @shadcn Can’t wait to instrument

AI James profil fotoğrafı
AI James1 yıl önce

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

sock profil fotoğrafı
sock1 yıl önce

@vercel @shadcn @developedbyed

Jason Curry profil fotoğrafı
Jason Curry1 yıl önce

@vercel @shadcn Ahhh, very nice!!!

Sriket Komali profil fotoğrafı
Sriket Komali1 yıl önce

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

Gokul profil fotoğrafı
Gokul1 yıl önce

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

Sriket Komali profil fotoğrafı
Sriket Komali1 yıl önce

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

Benzer Videolar