Better Inline Than Out

With modal dialogs, every decision is a show-stopper. Unless you’re working on an irreversible action like a bank transfer, blocking the entire UI doesn’t make sense.

If you need to confirm or collect user input, try doing it inline with Steven Loria’s AreYouSure.js. It’s a JavaScript library that creates inline dialogs which you can style and use to trigger events.

AreYouSure.js offers customizable prompts (via jQuery or data attributes) and callback support, so it’s flexible enough for whatever you through at it. Live demo here.

AreYouSure.js in action
Get AreYouSure.js Join discussion
2017 Neal Shyam