PropertyAttributeDescriptionTypeDefaultaria ariaAdd ARIA attributes.type PopoverAriaAttribute = { 'aria-label'?: string; }undefineddescription descriptionDescriptive text to show additional information when popover is openstringundefineddirection directionPreferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.type PopoverDirection = 'top' 'right' 'bottom' 'left''bottom'theme themeAdapts the popover color depending on the theme.type Theme = 'light' 'dark' 'auto''light'
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot for the popover content.<slot name="button"> Slot for custom button.
CSS Variables
prev
next
CSS VariableDescriptiondefaultValue--p-hyphens Sets the CSS `hyphens` property for text elements, controlling whether words can break and hyphenate automatically.auto