design-infraGitHub
Report a problem or share feedback← Catalog

Template · AI chat

curatedtheme-awarefree

oc/template-ai-chat

Assistant UI at app/chat/page.tsx: conversation sidebar (@oc/app-shell), @oc/chat-thread with tool-call chips, @oc/agent-status while the model works, and @oc/prompt-composer pinned to the bottom. Fake responder included — swap in your streaming call.

loop · state — subtledrop-inCalmRefinedFuturistic
$npx shadcn@latest add @design-infra/template-ai-chat

npm deps: lucide-react

Our notes

Starter page → app/chat/page.tsx. Use existing compatible tokens, or install a theme only when requested; it pulls in 4 @oc blocks. Preview: /templates/template-ai-chat.
Source
oc
Kind
template
Categories
ai-chat, agent-ui, sidebar
Use as
drop-in — replaces your component
Applies to
ai-chatagent-uisidebar
Motion
on loop, state · subtle · canvas + css · medium cost
Tags
oc, template, oc/app-shell, oc/chat-thread, oc/prompt-composer, oc/agent-status
Live demo
www.owencoonahan.xyz