# AssistantModalPrimitive URL: /docs/api-reference/primitives/assistant-modal A popover chat interface for floating assistant UI in the corner of the screen. A modal chat UI usually displayed in the bottom right corner of the screen. Anatomy \[#anatomy] ```tsx import { AssistantModalPrimitive } from "@assistant-ui/react"; const AssistantModal = () => ( ); ``` API Reference \[#api-reference] Root \[#root] Contains all parts of the assistant modal. Trigger \[#trigger] A button that toggles the open state of the assistant modal. `AssistantModalPrimitive.Content` will position itself against this button. This primitive renders a `