Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI
Component Library
Browse and explore components
Popover
A Popover is a UI component used to display contextual information or actions in a small overlay that appears near a trigger element, typically on click or hover.
Default popover
Sample Code
Company Profile
Sample Code
Controlled
Sample Code
Disable arrow
Sample Code
Image popover
Due to its central geographic location in Southern Europe, Italy has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy Phoenicians and Carthaginians founded colonies mostly in insular Italy
Password Strength
Placement
Trigger Type
API ( Popover )
Prop | Description | Type | Default |
---|---|---|---|
content | The content to display inside the popover. | "<h3>PopOver Title</h3>" | - |
trigger | Specifies how the popover is triggered. | "hover" | "click" | "hover" |
placement | Determines the position of the popover relative to the trigger element. | "top" | "right" | "bottom" | "left" | "bottom" |
arrow | If true, displays an arrow pointing to the trigger element. | boolean | true |
open | Controls the visibility of the popover. When true, the popover is visible. | boolean | false |
onOpenChange | Callback function that is called when the popover visibility changes. | setOpen | - |