Works with the AI SDK, and with your theme
Hand useDetentChat what useChat gives you and it hands back the streaming answer, the run’s waterfall and the approval card, timed as the parts arrive. The Agent chat block puts them in one window, live on a real route you can try. And every free component now takes on your shadcn theme: your primary becomes its accent, and .dark turns it dark.
- AI SDK
- Agent chatPro
- Follows your shadcn theme