PureKit UI logoPureKit UI

Popover

Small overlay to display additional information.

Basic

Simple popover

Placements

Different popover positions

Main Props

NameTypeDefaultDescription
placement
Placement'bottom'Popover position relative to trigger
action
React.ReactNode | Open-Element used to open the popover
open
boolean-Controlled open state
setOpen
(open: boolean) => void-Setter for controlled state
actionType
'click' | 'hover''click'Trigger behavior
animVariant
'all' | 'each''all'Animate all or each child
animType
'fadeInOutScale' | 'fadeInOut' | 'fadeInOutFullScale''fadeInOutScale'Animation type
animRest
DefaultAnimationVisibilityProps{}Animation transition props
disabled
booleanfalseDisable the popover
children
React.ReactNode-Popover content
idPopOver
string''Id attribute for popover

Class Props

NameTypeDefaultDescription
classNamePopOver
string''Class for popover content
classNameWrapperEach
string''Class when using animVariant='each'
className
string''Class for root wrapper
classNameRoot
string''Class for container element
classNameWrapperAction
string''Class for action wrapper