Props

NameTypeDefault
elementReact.ReactElement
popperReact.ReactElement
positionString"bottom-center"
arrowBoolean or React.ReactElementfalse
fixMainPositionBooleanfalse
fixRelativePositionBooleanfalse
animationsArray
popperShadowBooleanfalse
activeBooleanfalse
offsetYNumber0
offsetXNumber0
zIndexNumber0
containerStyleReact.CSSProperties
arrowStyleReact.CSSProperties
containerClassNameString
arrowClassNameString
refReact.RefObject
onChangeFunction
portalBooleanfalse
portalTargetHTMLElement

Positions

All the values that you can consider as a position for popper are listed in the table below.

You can also use an alternative value instead of written positions.

PositionAlternative
toptop-center
bottombottom-center
leftleft-center
rightright-center
top-starttop-left
top-endtop-right
bottom-startbottom-left
bottom-endbottom-right
left-startleft-top
left-endleft-bottom
right-startright-top
right-endright-bottom