Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Chat App

Preview

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/chat-app

Import the shared styles once in your application.

TSUsage
import ChatApp from '@/components/beui/agents/ChatApp.vue'
import '@/components/beui/styles.css'

API Reference

sidebarWidth?
string

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

Default17rem
collapseSidebarBelow?
number

Shell width in px under which the sidebar folds off-canvas. Ignored while `open` is controlled.

Default600
v-model:open?
boolean

Sidebar open state. Leave unset for an uncontrolled sidebar.

Defaultundefined
defaultOpen?
boolean
Defaulttrue
v-model:openMobile?
boolean
Defaultundefined
defaultOpenMobile?
boolean
Defaultfalse
style?
StyleValue
Default—
labels?
Partial<AnimatedSidebarMessages>

Override any built-in string.

Default—
class?
string
Default—
shortcut?
boolean

Ctrl/Cmd+B toggles the sidebar. Default true.

Defaulttrue
@open-change?
(value: boolean) => void
Default—
@open-mobile-change?
(value: boolean) => void
Default—

Updated