I need clicking on an image to zoom it out, and so far I haven't been able to find anything like it with Foundation 6, until I found an option in Foundation 5 called Clearing Lightbox, and its class is thumbs-clearing, Is there something similar in Foundation 6?
Unfortunately and at least until now (Foundation 6.2.4) there is NO such thing as Clearing in Foundation 6.x. You would have to install an external plugin, among many that are available.
You can see the Foundation 6 roadmap ticket here, Clearing was on the list but was removed, according to its creators at least temporarily: https://github.com/zurb/foundation-sites/issues/7759
Someone raises an option using Reveal and Orbit (both are components of Foundation) as an alternative to Clearing:
The code was taken from: https://github.com/zurb/foundation-sites/issues/7823#issuecomment-170154950
Because Zurb hasn't natively added clearing-lightbox, here's an alternative that's very easy to implement, explained step by step, cheers!
http://lokeshdhakar.com/projects/lightbox2/