Composer
The AI chat composer from the AI Chat template as a standalone block: a pill input with working attachment and model menus, voice and send controls, the status bar with branch, project, agent mode and context meter, and a liquid-glass treatment that takes over the controls while the agent works.
Installation
Dark mode ready - this component follows BoardUI semantic tokens automatically. Set up theme switching.
Working state
The full agent-working treatment, looping: the AgentThinking thinks above the pill, the free ComposerLoader light orbits it, and GlassComposer morphs the attachment, model, and mic controls into liquid glass. Everything fades back when the reply lands.
const [working, setWorking] = useState(false);
{working && <AgentThinking variant="infinity" />}<ComposerLoader active={working}> {/* the controls morph to liquid glass while the agent works */} <GlassComposer glass={working} /></ComposerLoader><StatusBar />The parts
Everything ships as separate exports so the pieces compose: the pill, the status bar, the assembled preview, and the glass wrapper. The attachment and model menus are fully working popovers, plugins grid and all.
{/* The pill alone - attachment menu, input, model picker, mic, send */}<Composer />
{/* Status row - branch, project folder menu, agent mode, context meter */}<StatusBar />
{/* Both assembled, as in the AI chat template */}<AiChatComposerPreview />