I have plastic baskets with straight sides for my spices. They function like drawers in the cupboard. When I'm baking, I pull out a basket and take out what I need for my recipe, then back it all goes when I'm finished.
I have magnetic spice racks stuck to the side of my fridge.
For white rice, I have a big glass container with a lid. For small packs of rice like brown rice or wild rice, I have canning/ kilner jars.
I also keep lentils of various kinds in these jars, as well as stuff like dessicated coconut, corn starch, bulgur wheat, Farina, dried beans, orzo, etc.
Different kinds of flour are kept in big Tupperware containers in a specific cupboard. Same goes for sugar, baking soda, etc.
For items like packs of pasta I have stacking baskets /shelves that I bought one time in Aldi. I have spaghetti on one shelf, macaroni on another, rigatoni/ lasagna sheets, etc, on others.
Tea bags - I have a lot, all kept in square containers in a cupboard, separated by flavour.
All buns, rolls, etc are kept in a big glass container with a lid or in the fridge.
For higher shelves, I have a small step ladder.