---
url: "https://vueda.dev/v3/reference/api/vue/HoverCardContent.md"
title: "HoverCardContent"
---

# HoverCardContent

## Overview

The content panel of a HoverCard, rendered in a portal.

Theme entry: [HoverCardContent](/v3/reference/theming/keys/HoverCardContent.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-side">side</span> | `string` |  | `undefined` | The side the hover card appears on relative to the trigger. |
| <span id="prop-align">align</span> | `string` |  | `undefined` | The alignment along the side axis. |
| <span id="prop-sideOffset">sideOffset</span> | `number` |  | `4` | The distance in pixels from the trigger. |
| <span id="prop-alignOffset">alignOffset</span> | `number` |  | `undefined` | The offset along the alignment axis. |
| <span id="prop-avoidCollisions">avoidCollisions</span> | `boolean` |  | `undefined` | Whether to avoid collisions with boundary edges. |
| <span id="prop-collisionBoundary">collisionBoundary</span> | `object\|array` |  | `undefined` | The collision boundary element(s). |
| <span id="prop-collisionPadding">collisionPadding</span> | `number\|object` |  | `undefined` | The padding for collision detection. |
| <span id="prop-sticky">sticky</span> | `string` |  | `undefined` | The sticky behavior on the align axis. |
| <span id="prop-hideWhenDetached">hideWhenDetached</span> | `boolean` |  | `undefined` | Whether to hide the content when the trigger is fully occluded. |
| <span id="prop-forceMount">forceMount</span> | `boolean` |  | `undefined` | Whether to force mount the content. |
| <span id="prop-as">as</span> | `string\|object` |  | `undefined` | The element or component to render as. |
| <span id="prop-asChild">asChild</span> | `boolean` |  | `false` | When true, merges props onto the child element instead of rendering a wrapper. |

## Slots

### `default` {#slot-default}

Slot.

## Source

`client/lib/shell/hover-card/HoverCardContent.vue`
