I made this modular spice rack insert for my IKEA kitchen drawer.
It's made specifically for rectangular 160ml glass jars, which you can get on amazon. It's modular, in that you can print a few of these and connect them together, each unit holding two spice jars.