Hmm looks like some people put a lot of work into thinking about organising hardware. For cpus I have them between two pieces of foam in a small motherboard box. I used to have them just sitting on the shelf but I wanted to use more of the space on that shelf so I put them in a box (I don't actually have that many cpus that are not sitting in motherboards).
For optical drives, hdds, floppy drives I just sortof stack them wherever I find convenient, not very well organised when i think about it. Expansion cards I have in anti static bags (I am truely surprised with the amount of it I actually have) sometimes individually sometimes multiple cards in the one bag particularly if its just a 1MB S3 Trio 64V2/V+ which I have plenty of. Then the bags are in there own boxes with a label like PCI Video cards or something. Its various hardware boxes, Optical drive boxes are particularly good cause you can store most normal length expansion cards in those. Power supply boxes are pretty good to as well. All boxes are labeled but of course I labeled them on the top so I still have to pull them all out when I'm looking for what I want.
RAM is mostly sorted by type and size in its own antistatic bags well I think the bags go like EDORAM or 72pin FPM, <64MB SDRAM, 64MB SDRAM, 128MB SDRAM, 256,512MB SDRAM, DDR1, DDR2 and this is all in the one box which is surprisingly heavy. I also found a whole lot of 33pin FPM which I grabbed in a small motherboard box as well.
Motherboards however are a little more problematic, I have those in antistatic bags but I don't have boxes for those 🙁 So I just sortof have them wherever I find to put them, I have a drawer with 5 motherboards in it I think. I really need some more boxes, I found some but there were really too small except for the smallest of babyAT and uATX motherboards.
PSUs are sortof stacked on the bottom shelf I think, and cased computers go wherever I put them I suppose.
Most of what I do is much the same as it used to be except expansion cards where a bit more haphasardly placed in antistatic bags. I even have a very low resolution photo of what some of my "organisation" looked like a few years ago. (that third shelf looks more or less the same except more stuff but still not very well using the space, same for the second shelf except one of the 464s lives on my desk instead of in the cupboard)
Might as well show the rest of the important shelves which is also similar except I have one GT64 on my desk so I naturally filled the rest of the space with stuff.