Primitives
Composable React primitives for assistant-ui chat UIs: Thread, Composer, Message, BranchPicker, ActionBar, and the parts that build threads, message lists, attachments, and editing flows.
Primitives are the low-level React components behind assistant-ui interfaces. They provide accessible behavior, state wiring, and composition points while leaving layout and styling under your control.
Pages
ActionBarPrimitiveComposable message action controls for copy, edit, reload, speech, and feedback in assistant-ui chat interfaces.ActionBarMorePrimitiveOverflow menu primitives for grouping secondary assistant message actions in a custom React UI.AuiIfConditional rendering primitive for showing React UI from assistant-ui thread, message, composer, and runtime state.AssistantModalPrimitiveFloating assistant modal primitives for building support chat, copilot, and embedded assistant experiences.AttachmentPrimitiveAttachment primitives for rendering file previews, names, thumbnails, and remove controls in assistant-ui messages and composers.BranchPickerPrimitiveBranch picker primitives for navigating regenerated assistant responses and alternate message paths inside a chat thread.ChainOfThoughtPrimitiveChain of thought primitives for rendering assistant reasoning, step lists, and collapsible disclosure UI in message content.ComposerPrimitiveComposable input primitives for assistant-ui prompts, send controls, cancellation, attachments, and composer state.ErrorPrimitiveError primitives for rendering assistant-ui runtime, thread, and message failures inside custom chat interfaces.MessagePrimitiveMessage primitives for rendering assistant and user turns, message parts, attachments, actions, editing, and branch controls.MessagePartPrimitiveMessage part primitives for rendering text, tool calls, data parts, reasoning, source content, and custom assistant output.QueueItemPrimitiveQueue item primitives for rendering pending assistant-ui thread operations, optimistic work, and runtime queue state.SelectionToolbarPrimitiveSelection toolbar primitives for quote, copy, and contextual actions on selected chat text.SuggestionPrimitiveSuggestion primitives for rendering starter prompts, follow-up actions, and composer suggestions in assistant-ui threads.ThreadPrimitiveThread primitives for rendering chat transcripts, message lists, viewport state, suggestions, and composers in assistant-ui.ThreadListPrimitiveThread list primitives for rendering conversation navigation, new thread actions, and custom assistant sidebars.ThreadListItemPrimitiveThread list item primitives for rendering selectable conversation rows with titles, archive controls, delete actions, and menus.ThreadListItemMorePrimitiveOverflow menu primitives for secondary thread list item actions in custom assistant-ui sidebars.