Chat App

A complete agent conversation workspace composing navigation, messages, streaming, planning, approvals, tools, code, diffs, generated media, sources, and prompt input.

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add https://www.agentui.pro/r/chat-app.json

API Reference

sidebarWidth?
string

Docked sidebar width as a CSS length. Default `17rem`.

17rem
collapseSidebarBelow?
number

Shell width in px under which the sidebar folds off-canvas. Ignored while `open` is controlled — the consumer owns the state then.

600
open?
boolean
defaultOpen?
boolean
onOpenChange?
((open: boolean) => void)
openMobile?
boolean
defaultOpenMobile?
boolean
onOpenMobileChange?
((open: boolean) => void)
style?
SidebarProviderStyle
className?
string

Updated