In particular, I like to keep my tea bags, pastas, grains, dried herbs and spices, dried mushrooms and baking ingredients like sugars and flours in glass jars.
If you keep a well-stocked pantry you will probably want many jars and would appreciate jars stack safely and neatly. Look for jars with square, or easily-nesting lids, or add a few non-skid pads to the bottom of your jars. We like these Clear Self-Adhesive Rubber Pads (Container Store, 18 for $2.99) and these Cork Pads (Aubuchon Hardware, 24 for $2.99).
Some of my favorite jars are these Martha Stewart Jars you used to be able to find at K Mart, but are no longer available (sorry). Ikea always has a range of jars, but don't get too attached because they often change their lines. Last time I got attached to a jar design at Ikea, it was discontinued. Currently, IKEA has several jars that work well for cupboard organizing, but if you're in love, don't skimp: stock up and plan ahead for the kinds of foods you plan to store (for example, know that a strand of spaghetti-type pasta is about 10-inches long so you'll need a jar at least that tall).
Our Favorite Storage Jars
Ball Half-Gallon Wide Mouth Mason Jars (Goodman's, 6 for $8.79) Many other sizes also available at Lehman's Non-Electric Catalog