Confirm Modal

Small moments.
Beautifully handled.

Dialogs, prompts, and toasts that feel right at home.
Native to the web. Ready for your next idea.

Ready for the next step?

A little clarity goes a long way.
Take a moment. Make it yours.

A native feel. In every detail.
~8 kBSmall by design.
ZeroRuntime dependencies.
TypeScriptConfidence built in.
NativeRight at home on the web.
Made to be experienced.

Find your next interaction.

21 examples. One simple API.
Try them all. Make them yours.

Less code. More possibility.

Just add an attribute.

Add a confirmation to a link, button, or form. Register once with modal.bind() and let your markup do the talking.

Sign out
Simple from the start.HTML
<button
  data-cm-confirm="Delete this item?"
  data-cm-danger
>
  Delete
</button>

Your next idea starts here.

Read the documentation