There are a few different places selling hexagonal bottom spice containers with magnetic lids … and maybe the really expensive (over a hundred bucks for like a dozen containers?!?) ones are more than just a magnet under the lid. But the rest? Are literally a hexagonal spice jar with a small disc neodymium magnet attached on the underside of the lid.
Voila — a lot of little spice jars that don’t cost a lot of money. But arranging them all in a solid honeycomb pattern doesn’t work so well. Invariably, you need the spice jar right in the middle of the mass. Instead, I am making a giant circle.