A
匣子 is a small box with a lid, often wooden and a little old-fashioned; an ordinary cardboard or plastic box is a
盒子. The word lives on in
黑匣子 'black box' and
话匣子, an old word for a gramophone that now means a chatterbox:
打开话匣子 'to start talking and not stop'.