--- title: Popover description: Popovers are used to display content in an overlay that can be triggered by a button. api_version: 2025-10 api_name: checkout-ui-extensions source_url: html: https://shopify.dev/docs/api/checkout-ui-extensions/latest/polaris-web-components/overlays/popover md: https://shopify.dev/docs/api/checkout-ui-extensions/latest/polaris-web-components/overlays/popover.md --- # Popover Popovers are used to display content in an overlay that can be triggered by a button. ## Properties * blockSize SizeUnitsOrAuto Default: 'auto' Adjust the block size. * id string A unique identifier for the element. * inlineSize SizeUnitsOrAuto Default: 'auto' Adjust the inline size. * maxBlockSize SizeUnitsOrNone Default: 'none' Adjust the maximum block size. * maxInlineSize SizeUnitsOrNone Default: 'none' Adjust the maximum inline size. * minBlockSize SizeUnits Default: '0' Adjust the minimum block size. * minInlineSize SizeUnits Default: '0' Adjust the minimum inline size. ### SizeUnitsOrAuto ```ts SizeUnits | "auto" ``` ### SizeUnits ```ts `${number}px` | `${number}%` | `0` ``` ### SizeUnitsOrNone ```ts SizeUnits | "none" ``` ## Events Learn more about [registering events](https://shopify.dev/docs/api/checkout-ui-extensions/2025-10/using-polaris-components#event-handling). * hide CallbackEventListener\ Callback fired after the overlay is hidden. * show CallbackEventListener\ Callback fired after the overlay is shown. ### CallbackEventListener ```ts (EventListener & { (event: CallbackEvent & TData): void; }) | null ``` ### CallbackEvent ```ts TEvent & { currentTarget: HTMLElementTagNameMap[TTagName]; } ``` ### Examples * #### Code ##### Default ```html Open Popover Validate ``` ## Preview ![](https://shopify.dev/images/templated-apis-screenshots/checkout-ui-extensions/2025-10/popover-default.png)