NOCTA UI

Hovercard

Contextual hovercards for showing lightweight profiles or previews on pointer hover with Ariakit primitives and smart positioning

Installation

Install the Hovercard component with the nocta-ui CLI:

npx @nocta-ui/cli add hovercard

Import the parts you need:

import {
  Hovercard,
  HovercardTrigger,
  HovercardContent
} from '@/components/ui/hovercard';

Example

Default Hovercard

API Reference

Hovercard

Prop

Type

HovercardTrigger

Prop

Type

HovercardContent

Prop

Type

HovercardHeading

Prop

Type

HovercardDescription

Prop

Type