# ActionBar URL: /docs/primitives/action-bar Build message action buttons with auto-hide, copy state, and intelligent disabling. The ActionBar primitive provides message actions: copy, reload, edit, feedback, speech, and export. It handles intelligent visibility with auto-hide on hover, automatic disabling based on message state, and floating behavior. You compose the buttons; the primitive handles action state and availability. ```tsx import { ActionBarPrimitive, MessagePrimitive, } from "@assistant-ui/react"; import { CheckIcon, CopyIcon, RefreshCwIcon } from "lucide-react"; function AssistantMessage() { return (
); } ```
Quick Start \[#quick-start] A minimal action bar with copy and reload: ```tsx import { ActionBarPrimitive } from "@assistant-ui/react"; Copy Reload ``` `Root` renders a `
`, action buttons render `