Pocket doors are a good option for small spaces like pantries because they don’t have a door swing that impedes on the space. The flip side is that a pocket door requires a place to pocket — so it requires an ample wall to house it, and the pocketing area must be clear of things like wires, plumbing and nails from picture hooks.
General feel, make more basic
Q