CodeAI

Popover

Dismissible anchored card with title, body, optional image/custom content, stepper, and actions.

Appearance

Content

Layout & behavior

Props — Popover
View MUI docs
PropTypeDescription
content"textOnly" | "textImage" | "custom"Layout variant for body content.
caretPlacement"bottomLeft" | "bottomCenter" | "bottomRight" | "topLeft" | "topCenter" | "topRight" | "leftTop" | "leftCenter" | "leftBottom" | "rightTop" | "rightCenter" | "rightBottom"Anchor position relative to the trigger.
hasCaretbooleanShow the pointing caret.
titleReactNodeCard heading.
bodyReactNodeMain text content.
imageReactNodeImage slot for textImage layout.
customContentReactNodeCustom body when content is custom. Unpadded blank canvas — own padding in the slot.
hasActionRowbooleanShow the footer action row.
hasStepperbooleanShow step indicator (e.g. tour steps).
stepperTextReactNodeStep counter label.
hasPrimaryActionbooleanShow the primary footer button.
hasSecondaryActionbooleanShow the secondary footer button.
primaryActionLabelReactNodePrimary button label.
secondaryActionLabelReactNodeSecondary button label.
isDismissiblebooleanShow close control.
onClose() => voidCalled when the popover is dismissed.
childrenReactElement | ReactNodeTrigger element for anchored mode.
surfaceOnlybooleanRender the card surface without a trigger anchor.