Skip to main content
This example shows how to control the visibility of the Suki React Web SDK using the embedded close button. Control the visibility of the Suki React Web SDK using the embedded close button. Use this when you want to show or hide the SDK from your application.

Code example

The following examples demonstrate how to control the visibility of the SDK using the showCloseButton prop.
This example shows how to control the visibility of the web SDK using the showCloseButton prop. When the showCloseButton is set to true, the close button is visible and the onClose prop is available.
React

Next steps

Read the Dynamic encounter example to learn how to dynamically update the encounter data in the web SDK.
Last modified on July 23, 2026