Shrink is a Spell Component. It falls under the Defensive tree.
It causes you to shrink to a size of one block by one block (1x1), which allows you to go through such gaps. It also makes you immune to falling damage.
Note that you deal only half (50%) damage while shrunk.