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.
~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.
No examples found. Try a different search or category.
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.
Simple from the start.HTML
<button
data-cm-confirm="Delete this item?"
data-cm-danger
>
Delete
</button>