What's your solution to UI for Tanstack AI? #443
Unanswered
winstonpurnomo
asked this question in
Q&A
Replies: 1 comment
|
I would treat TanStack AI as the headless/state layer and keep the UI components app-owned. The You can adapt AI Elements if you like the look, but I would do that through a thin mapping layer instead of trying to make its Vercel AI SDK types the source of truth. In practice: TanStack AI owns transport/state/tools, your UI owns rendering, and any shadcn/AI Elements components are just presentational components fed by mapped TanStack message parts. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
With Vercel
aiSDK, they have the AI Elements to add shadcn-style components for UI to make it easy. But the types are different than Tanstack AI. For those who use tanstack AI, do you use AI Elements and just change the types etc? Or a different solution?All reactions