Popconfirm

Pop up a bubble confirmation box for an action.

When To Use

  • A simple and compact dialog is used for asking for user confirmation.
  • The difference with the confirm modal dialog is that it's more lightweight than the static-popped full-screen confirm modal.

Basic

The basic example.

Placement

There are 4 placement options available.

Locale text

Set confirmText and cancelText props to customise the button's labels.

API Reference

Property
Description
Type
Default

title

The title of the confirmation dialog. string -

description

Additional descriptive text. string -

confirmText

The text for the confirmation button. string "Yes"

cancelText

The text for the cancellation button. string "No"

position

The preferred placement of the popconfirm. "top" | "bottom" | "left" | "right" "top"