Link Search Menu Expand Document

Basic example

The following demonstrates a very basic example use of usePrompt.

When you run the example above, you will see that this prompt is added inline in the page.

Since you are using your own custom component for the prompt you decide how it is rendered. If you want a full-screen modal, you would apply the styling for that to your prompt component.