Docs
Popover

Popover

Popover component is a versatile element that displays rich content in a portal, typically triggered by a button. It provides a visually appealing way to present additional information, options, or actions without cluttering the main interface. The Popover component is commonly used for tooltips, contextual menus, or displaying supplementary details when interacting with specific elements. With its flexibility and customizable options, the Popover enhances the user experience by providing contextually relevant content when and where it's needed.

Installation

yarn add @camped-ui/popover

Usage

import { Popover, PopoverContent, PopoverTrigger } from "@camped-ui/popover";
<Popover>
  <PopoverTrigger>Open</PopoverTrigger>
  <PopoverContent>Place content for the popover here.</PopoverContent>
</Popover>