Popover is a non-modal dialog that floats around a trigger. It is used to display contextual information to the user, and should be paired with a clickable trigger element.
rc.popover(
rc.popover_trigger(rc.button("Popover Example")),
rc.popover_content(
rc.popover_header("Confirm"),
rc.popover_body("Do you want to confirm example?"),
rc.popover_footer(rc.text("Footer text.")),
rc.popover_close_button(),
),
)
rc.Popover
The wrapper that provides props, state, and context to its children.
rc.PopoverTrigger
Used to wrap the reference (or trigger) element.
Props
No component specific props
Event Triggers
See the full list of default event triggersrc.PopoverContent
The popover itself.
Props
No component specific props
Event Triggers
See the full list of default event triggersrc.PopoverHeader
The header of the popover.
Props
No component specific props
Event Triggers
See the full list of default event triggersrc.PopoverBody
The body of the popover.
Props
No component specific props
Event Triggers
See the full list of default event triggersrc.PopoverFooter
Display a popover footer.
Props
No component specific props
Event Triggers
See the full list of default event triggersrc.PopoverArrow
A visual arrow that points to the reference (or trigger).
Props
No component specific props
Event Triggers
See the full list of default event triggersrc.PopoverAnchor
Used to wrap the position-reference element.
Props
No component specific props