NOCTA UI

Popover

Advanced popover component with smart positioning, collision detection, and smooth animations for displaying rich content

Installation

Install the Popover component using the nocta-ui CLI:

npx @nocta-ui/cli add popover

Import the component:

import {
  Popover,
  PopoverTrigger,
  PopoverContent
} from '@/components/ui/popover';

Example

Default Popover

Api Reference

Popover

Prop

Type

PopoverTrigger

Prop

Type

PopoverContent

Prop

Type

PopoverHeading

Prop

Type

PopoverDescription

Prop

Type