Chat App
beui/chat-appFreeComponent
A complete agent conversation workspace composing navigation, messages, streaming, planning, approvals, tools, code, diffs, generated media, sources, and prompt input.
Install it
npx shadcn@latest add https://beui.dev/r/chat-app.jsonSource
1"use client";2// beui.dev/components/agents/chat-app34import type { ComponentProps } from "react";5import { AnimatedSidebarProvider } from "@/components/motion/animated-sidebar";6import { cn } from "@/lib/utils";78export type ChatAppProps = ComponentProps<typeof AnimatedSidebarProvider> & {9 sidebarWidth?: string;10};1112export function ChatApp({13 children,14 className,15 sidebarWidth = "17rem",16 style,17 ...props18}: ChatAppProps) {19 return (20 <AnimatedSidebarProvider21 {...props}22 style={{ ...style, "--sidebar-width": sidebarWidth }}23 className={cn(24 "min-h-0 w-full overflow-hidden rounded-2xl border border-border bg-background",25 className,26 )}27 >28 {children}29 </AnimatedSidebarProvider>30 );31}
What it pulls in
npm packages
Files it writes
More from beui
All 104 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Action Swap Bluraction-swap-blur | beui | Components | Free | 3 deps · 4 files | |
| Action Swap Cascadeaction-swap-cascade | beui | Components | Free | 3 deps · 4 files | |
| Action Swap Rollaction-swap-roll | beui | Components | Free | 3 deps · 4 files | |
| Agent Activityagent-activity | beui | Components | Free | 4 deps · 9 files | |
| Agent Loading States Agent Progressagent-progress | beui | Components | Free | 3 deps · 3 files | |
| AI Sidebarai-sidebar | beui | Components | Free | 4 deps · 5 files | |
| Animated Badgeanimated-badge | beui | Components | Free | 4 deps · 3 files | |
| Number Animation Animated Numberanimated-number | beui | Components | Free | 3 deps · 3 files |
