Primitives
Generated API reference for assistant-ui React primitive namespaces and parts.
Primitives are the composable React components exported from @assistant-ui/react. These pages focus on parts, props, rendered elements, and composition behavior.
Pages
ActionBarPrimitiveButtons for message actions like copy, edit, reload, speak, and feedback.ActionBarMorePrimitiveAPI reference for ActionBarMorePrimitive.AuiIfConditional rendering component based on thread, message, or composer state.AssistantModalPrimitiveA popover chat interface for floating assistant UI in the corner of the screen.AttachmentPrimitiveComponents for displaying and managing file attachments in messages and composer.BranchPickerPrimitiveNavigate between conversation branches with previous/next controls.ComposerPrimitivePrimitives for the text input, send button, and attachments.ErrorPrimitiveComponents for displaying error messages in the chat interface.MessagePrimitiveComponents for rendering message content, parts, and attachments.MessagePartPrimitivePrimitives for text, images, tool calls, and other message content.SelectionToolbarPrimitiveA floating toolbar that appears when text is selected within a message.SuggestionPrimitiveAPI reference for SuggestionPrimitive.ThreadPrimitivePrimitives for the message list, viewport, and welcome screen.ThreadListPrimitiveDisplay and manage multiple conversation threads with create and archive actions.ThreadListItemPrimitiveIndividual thread item with title, archive, and delete controls.ThreadListItemMorePrimitiveDropdown menu for additional thread actions like archive and delete.CompositionHow to compose primitives with custom components using asChild.