--- title: Hover Card description: Used to display content when hovering over an element links: source: components/hover-card storybook: components-hover-card--basic recipe: hover-card ark: https://ark-ui.com/react/docs/components/hover-card --- ## Usage ```jsx import { HoverCard } from "@chakra-ui/react" ``` ```jsx ``` ## Shortcuts The `HoverCard` provides a shortcuts for common use cases. ### Arrow The `HoverCard.Arrow` renders the `HoverCard.ArrowTip` component within in by default. This works: ```jsx ``` This might be more concise, if you don't need to customize the arrow tip. ```jsx ``` ## Examples ### Controlled Use the `open` and `onOpenChange` to control the visibility of the hover card. ### Delays Control the open and close delays using the `openDelay` and `closeDelay` props. ### Placement Use the `positioning.placement` prop to configure the underlying `floating-ui` positioning logic. ### Within Dialog To use the `HoverCard` within a `Dialog`, you need to avoid portalling the `HoverCard.Positioner` to the document's body. ```diff - {/* ... */} - ``` ## Accessibility HoverCard should be used solely for supplementary information that is not essential for understanding the context. It is inaccessible to screen readers and cannot be activated via keyboard, so avoid placing crucial content within it. ## Props ```