Confirm With Reveal for Foundation 6

The standard JavaScript confirm (‘Are you sure?’ OK|Cancel) popup box, is pretty ugly (well, if you compare it with Foundation’s reveal modals).

Fear not, fellow Foundation 6 lover! A much improved version of asking a user if it’s OK to delete their entire account (with no return!) is at hand, Foundation 6-style. Simply download and include the .js at: Confirm With Reveal for Foundation 6.

Some handy options include being able to alter the text and (my personal favorite) request a ‘password’ – user has to type in a word to double-confirm they are certain they want to proceed:

confirm-with-reveal-foundation-6

Tell us what you think of the the confirm with reveal modal.

Thanks & happy foundationizing!