My pantry cabinet is just deep enough to where the spices always seem to congregate right at the front, just in the way of the can of soup you want. Since there is always this small amount of space why not mount them directly to the door so they move out of the way automatically.
The first version of the spice holder was about twice as tall, this proved to be overkill and subsequent versions were reduced in height, this allows you to mount them in succession with only a small distance between to get the spices out.
I mounted mine with 3M VHB double sided tape, though other brands of tape will likely work.
The author marked this model as their own original creation.