---
url: /reference/@cssdoc/cssdoc/type-aliases/HoverSectionMode.md
---
# Type Alias: HoverSectionMode

```ts
type HoverSectionMode = "on" | "off" | "auto";
```

Defined in: [packages/providers/src/types.ts:228](https://github.com/thedannywahl/cssdoc/blob/main/packages/providers/src/types.ts#L228)

Per-section visibility for the `custom` hover detail. `auto` shows the section only when it has
content (what `full` does for every section); `on` always shows it (empty sections render a
placeholder); `off` hides it. Keys are the card's section names — see [HOVER_SECTION_KEYS](../variables/HOVER_SECTION_KEYS.md).
